File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 2929 "karma-mocha" : " ^1.3.0" ,
3030 "karma-mocha-reporter" : " ^2.2.1" ,
3131 "karma-typescript-preprocessor" : " ^0.3.0" ,
32- "karma-webpack" : " ^1.8.1 " ,
32+ "karma-webpack" : " ^2.0.2 " ,
3333 "less" : " ^2.7.1" ,
3434 "less-loader" : " ^2.2.3" ,
3535 "minimist" : " ^1.2.0" ,
3636 "mocha" : " ^3.2.0" ,
3737 "style-loader" : " ^0.13.1" ,
38- "ts-loader" : " ^1.3.3 " ,
38+ "ts-loader" : " ^2.0.0 " ,
3939 "typescript" : " ^2.1.4" ,
4040 "webpack" : " ^2.2.1" ,
4141 "webpack-dev-server" : " ^1.16.2"
Original file line number Diff line number Diff line change 11
22const webpackConfig = require ( '../webpack.config.js' ) ;
33
4- webpackConfig . entry = { } ;
4+ delete webpackConfig . entry ;
55webpackConfig . output = { } ;
66
77
Original file line number Diff line number Diff line change @@ -17,10 +17,14 @@ module.exports = {
1717 umdNamedDefine : true
1818 } ,
1919 module : {
20- loaders : [
20+ rules : [
2121 {
2222 test : / \. l e s s $ / ,
23- loader : "style-loader!css-loader!less-loader"
23+ use : [
24+ "style-loader" ,
25+ "css-loader" ,
26+ "less-loader"
27+ ]
2428 } ,
2529 {
2630 test : / \. t s $ / ,
You can’t perform that action at this time.
0 commit comments