File tree Expand file tree Collapse file tree 3 files changed +90
-678
lines changed Expand file tree Collapse file tree 3 files changed +90
-678
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,24 @@ module.exports = {
1010 filename : 'client-bundle.js'
1111 } ,
1212 module : {
13- noParse : / ( l r u - c a c h e | e s 6 - p r o m i s e ) \. j s $ / ,
13+ noParse : / e s 6 - p r o m i s e \. j s $ / , // avoid webpack shimming process
1414 rules : [
1515 {
1616 test : / \. v u e $ / ,
17- loader : 'vue' ,
17+ loader : 'vue-loader ' ,
1818 options : vueConfig
1919 } ,
2020 {
2121 test : / \. j s $ / ,
22- loader : 'babel' ,
23- exclude : / n o d e _ m o d u l e s /
22+ loader : 'buble-loader' ,
23+ exclude : / n o d e _ m o d u l e s / ,
24+ options : {
25+ objectAssign : 'Object.assign'
26+ }
2427 } ,
2528 {
2629 test : / \. ( p n g | j p g | g i f | s v g ) $ / ,
27- loader : 'url' ,
30+ loader : 'url-loader ' ,
2831 options : {
2932 limit : 10000 ,
3033 name : '[name].[ext]?[hash]'
Original file line number Diff line number Diff line change 3131 },
3232 "devDependencies" : {
3333 "autoprefixer" : " ^6.4.0" ,
34- "babel-core" : " ^6.0.0" ,
35- "babel-loader" : " ^6.0.0" ,
36- "babel-preset-es2015" : " ^6.13.2" ,
37- "babel-preset-stage-2" : " ^6.11.0" ,
3834 "cross-env" : " ^2.0.0" ,
3935 "css-loader" : " ^0.25.0" ,
36+ "buble" : " ^0.14.2" ,
37+ "buble-loader" : " ^0.3.2" ,
4038 "extract-text-webpack-plugin" : " ^2.0.0-beta.3" ,
4139 "file-loader" : " ^0.9.0" ,
4240 "stylus" : " ^0.54.5" ,
You can’t perform that action at this time.
0 commit comments