Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels