File tree Expand file tree Collapse file tree
packages/@weex/plugins/compile Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 "author" : " Mario<faterrole@gmail.com>" ,
2121 "license" : " MIT" ,
2222 "dependencies" : {
23- "@babel/core" : " ^7.2.2" ,
24- "@babel/preset-env" : " ^7.2.3" ,
2523 "autoprefixer" : " ^8.6.2" ,
26- "babel-loader" : " ^8.0.4" ,
27- "css-loader" : " ^2.1.0" ,
24+ "babel-core" : " ^6.26.3" ,
25+ "babel-loader" : " ^7.1.5" ,
26+ "babel-preset-es2015" : " ^6.24.1" ,
27+ "babel-preset-stage-0" : " ^6.24.1" ,
28+ "css-loader" : " ^1.0.1" ,
2829 "fs-extra" : " ^7.0.1" ,
2930 "postcss-plugin-px2rem" : " ^0.7.0" ,
3031 "postcss-plugin-weex" : " ^0.1.6" ,
4041 },
4142 "devDependencies" : {
4243 "@types/jest" : " ^22.2.3" ,
43- "@types/node" : " ^10.0.4 " ,
44+ "@types/node" : " ^10.12.18 " ,
4445 "@types/webpack" : " ^4.4.19" ,
4546 "coveralls" : " ^3.0.1" ,
4647 "expect" : " ^23.1.0" ,
Original file line number Diff line number Diff line change @@ -282,7 +282,10 @@ new Vue(App)
282282 {
283283 loader : 'babel-loader' ,
284284 options : {
285- presets : [ path . join ( __dirname , '../node_modules/@babel/preset-env' ) ] ,
285+ presets : [
286+ path . join ( __dirname , '../node_modules/babel-preset-es2015' ) ,
287+ path . join ( __dirname , '../node_modules/babel-preset-stage-0' ) ,
288+ ] ,
286289 } ,
287290 } ,
288291 ] ,
You can’t perform that action at this time.
0 commit comments