Browse Source

Fix Babel Config

20230320
MengYX 5 years ago
parent
commit
dcde0d3fbb
No known key found for this signature in database GPG Key ID: E63F9C7303E8F604
  1. 2
      .drone.yml
  2. 7
      babel.config.js
  3. 1
      package.json

2
.drone.yml

@ -10,7 +10,7 @@ steps:
- name: installDependencies - name: installDependencies
image: node:lts image: node:lts
commands: commands:
- npm ci - npm ci --verbose --registry=https://registry.npm.taobao.org
- name: build - name: build
image: node:lts image: node:lts

7
babel.config.js

@ -1,11 +1,6 @@
module.exports = { module.exports = {
presets: [ presets: [
'@vue/cli-plugin-babel/preset', '@vue/cli-plugin-babel/preset'
["@babel/preset-env", {
"useBuiltIns": "entry",
"corejs": 3,
"modules": false
}]
], ],
plugins: [ plugins: [
["component", { ["component", {

1
package.json

@ -16,7 +16,6 @@
"vue": "^2.6.11" "vue": "^2.6.11"
}, },
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.8.4",
"@vue/cli-plugin-babel": "^4.1.2", "@vue/cli-plugin-babel": "^4.1.2",
"@vue/cli-plugin-pwa": "^4.1.2", "@vue/cli-plugin-pwa": "^4.1.2",
"@vue/cli-service": "^4.1.2", "@vue/cli-service": "^4.1.2",

Loading…
Cancel
Save