File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 17
17
"bugs" : {
18
18
"url" : " https://github.com/Foxandxss/angular-webpack-workflow/issues"
19
19
},
20
- "babel" : {
21
- "stage" : 1
22
- },
23
20
"homepage" : " https://github.com/Foxandxss/angular-webpack-workflow" ,
24
21
"dependencies" : {
25
22
"angular" : " ^1.4.7"
26
23
},
27
24
"devDependencies" : {
28
25
"angular-mocks" : " ^1.4.7" ,
29
26
"autoprefixer" : " ^6.0.3" ,
30
- "babel-core" : " ^5.8.29 " ,
31
- "babel-loader" : " ^5.3.2 " ,
32
- "babel-runtime " : " ^5.8.29 " ,
27
+ "babel-core" : " ^6.2.1 " ,
28
+ "babel-loader" : " ^6.2.0 " ,
29
+ "babel-preset-es2015 " : " ^6.1.18 " ,
33
30
"css-loader" : " ^0.21.0" ,
34
31
"extract-text-webpack-plugin" : " ^0.8.2" ,
35
32
"file-loader" : " ^0.8.4" ,
52
49
"webpack" : " ^1.12.2" ,
53
50
"webpack-dev-server" : " ^1.12.1"
54
51
}
55
- }
52
+ }
Original file line number Diff line number Diff line change @@ -92,7 +92,10 @@ module.exports = function makeWebpackConfig (options) {
92
92
// Transpile .js files using babel-loader
93
93
// Compiles ES6 and ES7 into ES5 code
94
94
test : / \. j s $ / ,
95
- loader : 'babel?optional[]=runtime' ,
95
+ loader : 'babel' ,
96
+ query : {
97
+ presets : [ 'es2015' ]
98
+ } ,
96
99
exclude : / n o d e _ m o d u l e s /
97
100
} , {
98
101
// ASSET LOADER
You can’t perform that action at this time.
0 commit comments