forked from um/web
Fix Babel Config
This commit is contained in:
parent
0c0299d63a
commit
dcde0d3fbb
@ -10,7 +10,7 @@ steps:
|
||||
- name: installDependencies
|
||||
image: node:lts
|
||||
commands:
|
||||
- npm ci
|
||||
- npm ci --verbose --registry=https://registry.npm.taobao.org
|
||||
|
||||
- name: build
|
||||
image: node:lts
|
||||
|
@ -1,11 +1,6 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
'@vue/cli-plugin-babel/preset',
|
||||
["@babel/preset-env", {
|
||||
"useBuiltIns": "entry",
|
||||
"corejs": 3,
|
||||
"modules": false
|
||||
}]
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
],
|
||||
plugins: [
|
||||
["component", {
|
||||
|
@ -16,7 +16,6 @@
|
||||
"vue": "^2.6.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.8.4",
|
||||
"@vue/cli-plugin-babel": "^4.1.2",
|
||||
"@vue/cli-plugin-pwa": "^4.1.2",
|
||||
"@vue/cli-service": "^4.1.2",
|
||||
|
Loading…
Reference in New Issue
Block a user