feat: perfect migrate to @vue/cli-service, upgrade vue babel version
1. update to @vue/cli-service@3.0.5, @babel/core@7.0.0 2. use vue-cli service replace config file in build/ and config/ 3. upgrade vue and babel configuration 4. solve the svg-sprite config problem #980 refs: #932 #1087 #980 #1056
This commit is contained in:
14
babel.config.js
Normal file
14
babel.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
['@vue/app', { modules: 'commonjs' }]
|
||||
],
|
||||
plugins: [],
|
||||
env: {
|
||||
test: {
|
||||
presets: [
|
||||
['@vue/app', { modules: 'commonjs' }]
|
||||
],
|
||||
plugins: ['istanbul']
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user