To avoid problems in your project, the webpack configuration needs to be valid.
This hint checks if the Webpack configuration file is valid.
The webpack.config.js
has is an invalid javascript:
module.exports = {
entry: 'invalid,
output: {
filename: 'bundle.js'
}
};
The configuration is valid:
const path = require('path');
module.exports = {
entry: ['entry'],
output: {
filename: 'bundle.js',
path: path.join(__dirname, 'dist')
}
};