Skip to content

Commit 0845f7d

Browse files
author
v_zhihzhou
committed
Webpack and Babel7(@babel) Support
1 parent 4d5764c commit 0845f7d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"presets": [
3-
["env", { "targets": { "node": 7 }, "modules": false }]
3+
["@babel/env", { "targets": { "node": 7 }, "modules": false }]
44
]
55
}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@
7474
"mpvue-template-compiler": "^1.0.12"
7575
},
7676
"devDependencies": {
77-
"babel-core": "^6.25.0",
78-
"babel-loader": "^7.0.0",
79-
"babel-preset-env": "^1.6.0",
77+
"@babel/core": "^7.3.4",
78+
"@babel/preset-env": "^7.3.4",
79+
"babel-loader": "^8.0.5",
80+
"babel-types": "^6.26.0",
8081
"chai": "^4.1.0",
8182
"coffee-loader": "^0.7.2",
8283
"coffee-script": "^1.12.6",

0 commit comments

Comments
 (0)