diff --git a/.babelrc b/.babelrc index 42be44fb..2a818842 100644 --- a/.babelrc +++ b/.babelrc @@ -1,8 +1,5 @@ { "presets": [ "@vue/app" - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import" ] } diff --git a/.eslintrc.js b/.eslintrc.js index 05aa6f0b..48913434 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -11,5 +11,8 @@ module.exports = { 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'vue/no-parsing-error': [2, { 'x-invalid-end-tag': false }], 'no-undef': 'off' + }, + parserOptions: { + parser: 'babel-eslint' } } diff --git a/package-lock.json b/package-lock.json index 9831df27..3dff1f15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -356,23 +356,6 @@ "@babel/helper-plugin-utils": "7.0.0-beta.47" } }, - "@babel/plugin-syntax-dynamic-import": { - "version": "7.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.0.0-rc.2.tgz", - "integrity": "sha512-4Pnwwv4s9EhdZrYHP/dMEbr/TR7bqGsINofRavYBHv1lVSwvajhB0Z6+YAmOZabQZieCfH0Kfg1oJLa3sYsfpQ==", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "7.0.0-rc.2" - }, - "dependencies": { - "@babel/helper-plugin-utils": { - "version": "7.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0-rc.2.tgz", - "integrity": "sha512-kavwJYTgdd5W12MpfMJMznrfsx3sCl0HMSJ0vsPcbwT9jhF0EmYL1eyfeYbo4pToYmQgPKp+VGtSHQ3wL8N5lQ==", - "dev": true - } - } - }, "@babel/plugin-syntax-jsx": { "version": "7.0.0-beta.47", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0-beta.47.tgz", diff --git a/package.json b/package.json index 87190018..71e05b5c 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "xlsx": "^0.13.3" }, "devDependencies": { - "@babel/plugin-syntax-dynamic-import": "^7.0.0-rc.1", "@vue/cli-plugin-babel": "^3.0.1", "@vue/cli-plugin-eslint": "^3.0.1", "@vue/cli-plugin-unit-mocha": "^3.0.1",