optimize bundle size and resize/sharp image upload

fix #11
This commit is contained in:
lesion
2019-03-07 22:39:12 +01:00
parent 817359043d
commit 5f55d487db
13 changed files with 97 additions and 32 deletions

View File

@@ -1,5 +1,14 @@
module.exports = {
presets: [
'@vue/app'
'@vue/app' //, 'es2015', { 'modules': false }
],
plugins: [
[
'component',
{
'libraryName': 'element-ui',
'styleLibraryName': 'theme-chalk'
}
]
]
}