You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When newer versions of packages are installed instead of older ones in the package.json file, It throws compile errors related to configuration.
for Example in webpack.config.js
-1- new webpack.NoErrorsPlugin ( ) which should be changed to new webpack.NoEmitOnErrorsPlugin( )
-2- resolve.extensions
it does not accept empty String
resolve: {
extensions: [ '.js', '.jsx']
},
-3- module.loaders should be changed to module.rules i guess
-4- in loaders section it is no longer allowed to omit -loader so loaders: ['react-hot-loader/webpack', 'babel-loader']
However after these changes there seems to be some compile errors which again is related to the configuration.
The text was updated successfully, but these errors were encountered:
When newer versions of packages are installed instead of older ones in the package.json file, It throws compile errors related to configuration.
for Example in webpack.config.js
-1-
new webpack.NoErrorsPlugin ( )
which should be changed tonew webpack.NoEmitOnErrorsPlugin( )
-2-
resolve.extensions
it does not accept empty String
-3-
module.loaders
should be changed tomodule.rules
i guess-4- in
loaders
section it is no longer allowed to omit-loader
soloaders: ['react-hot-loader/webpack', 'babel-loader']
However after these changes there seems to be some compile errors which again is related to the configuration.
The text was updated successfully, but these errors were encountered: