Skip to content

Commit 15edbf0

Browse files
committed
rm babel-plugin-dynamic-import-node
1 parent 79c7160 commit 15edbf0

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.babelrc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,5 @@
88
}],
99
"stage-2"
1010
],
11-
"plugins":["transform-vue-jsx", "transform-runtime"],
12-
"env": {
13-
"development":{
14-
"plugins": ["dynamic-import-node"]
15-
}
16-
}
11+
"plugins":["transform-vue-jsx", "transform-runtime"]
1712
}

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",
66
"author": "Pan <panfree23@gmail.com>",
77
"scripts": {
8-
"dev": "cross-env BABEL_ENV=development webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
8+
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
99
"start": "npm run dev",
1010
"build": "node build/build.js",
1111
"build:report": "npm_config_report=true node build/build.js",
@@ -28,15 +28,13 @@
2828
"babel-eslint": "8.0.3",
2929
"babel-helper-vue-jsx-merge-props": "2.0.3",
3030
"babel-loader": "7.1.2",
31-
"babel-plugin-dynamic-import-node": "1.2.0",
3231
"babel-plugin-syntax-jsx": "6.18.0",
3332
"babel-plugin-transform-runtime": "6.23.0",
3433
"babel-plugin-transform-vue-jsx": "3.5.0",
3534
"babel-preset-env": "1.6.1",
3635
"babel-preset-stage-2": "6.24.1",
3736
"chalk": "2.3.0",
3837
"copy-webpack-plugin": "4.2.3",
39-
"cross-env": "5.1.1",
4038
"css-loader": "0.28.7",
4139
"eslint": "4.13.1",
4240
"eslint-friendly-formatter": "3.0.0",

0 commit comments

Comments
 (0)