File tree 3 files changed +651
-13
lines changed
3 files changed +651
-13
lines changed Original file line number Diff line number Diff line change @@ -102,10 +102,11 @@ module.exports = function createBaseConfig ({
102
102
// Don't transpile node_modules
103
103
return / n o d e _ m o d u l e s / . test ( filepath )
104
104
} ) . end ( )
105
- . use ( 'buble -loader' )
106
- . loader ( 'buble -loader' )
105
+ . use ( 'babel -loader' )
106
+ . loader ( 'babel -loader' )
107
107
. options ( {
108
- objectAssign : 'Object.assign'
108
+ presets : [ 'env' , 'stage-2' ] ,
109
+ plugins : [ 'transform-vue-jsx' , 'transform-runtime' ]
109
110
} )
110
111
}
111
112
Original file line number Diff line number Diff line change 38
38
},
39
39
"dependencies" : {
40
40
"autoprefixer" : " ^8.2.0" ,
41
- "buble" : " ^0.19.3" ,
42
- "buble-loader" : " ^0.5.0" ,
41
+ "babel-core" : " ^6.26.3" ,
42
+ "babel-helper-vue-jsx-merge-props" : " ^2.0.3" ,
43
+ "babel-loader" : " ^7.1.4" ,
44
+ "babel-plugin-syntax-jsx" : " ^6.18.0" ,
45
+ "babel-plugin-transform-runtime" : " ^6.23.0" ,
46
+ "babel-plugin-transform-vue-jsx" : " ^3.7.0" ,
47
+ "babel-preset-env" : " ^1.6.1" ,
48
+ "babel-preset-stage-2" : " ^6.24.1" ,
43
49
"chalk" : " ^2.3.2" ,
44
50
"chokidar" : " ^2.0.3" ,
45
51
"commander" : " ^2.15.1" ,
You can’t perform that action at this time.
0 commit comments