@@ -45,23 +45,6 @@ module.exports = {
4545 test : / \. t s x ? $ / ,
4646 use : [
4747 { loader : 'cache-loader' } ,
48- {
49- loader : 'thread-loader' ,
50- options : {
51- // there should be 1 cpu for the fork-ts-checker-webpack-plugin
52- workers : require ( 'os' ) . cpus ( ) . length - 1 ,
53- poolTimeout : Infinity , // set this to Infinity in watch mode - see https://github.com/webpack-contrib/thread-loader
54- } ,
55- } ,
56- {
57- loader : 'babel-loader' ,
58- options : {
59- cacheDirectory : true ,
60- babelrc : false ,
61- presets : [ '@babel/preset-env' , '@babel/preset-react' ] ,
62- plugins : [ 'react-hot-loader/babel' ] ,
63- } ,
64- } ,
6548 {
6649 loader : 'ts-loader' ,
6750 options : {
@@ -89,21 +72,8 @@ module.exports = {
8972 ] ,
9073 } ,
9174 plugins : [
92- new ForkTsCheckerWebpackPlugin ( {
93- checkSyntacticErrors : true ,
94- tsconfig : resolve ( __dirname , '../../tsconfig.json' ) ,
95- exclude : '' ,
96- } ) ,
9775 new Dotenv ( ) ,
9876 new HtmlWebpackPlugin ( { inject : true , template : 'index.html.ejs' } ) ,
99- new AutoDllPlugin ( {
100- inject : true , // will inject the DLL bundles to index.html
101- filename : dllFilename ,
102- entry : {
103- vendor : vendorDependencies ,
104- } ,
105- context : resolve ( __dirname , '../../src' ) ,
106- } ) ,
10777 ] ,
10878 performance : {
10979 hints : false ,
0 commit comments