Answer the question
In order to leave comments, you need to log in
How to migrate to webpack 4?
Good afternoon! Please help me deal with webpack 4
In version 3 there was this './webpack/index.js'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./webpack.prod.config');
} else {
module.exports = require('./webpack.dev.config');
}
"development": "cross-env NODE_ENV=dev webpack-dev-server --config ./webpack/webpack.dev.config.js",
Answer the question
In order to leave comments, you need to log in
Webpack has been initialised using a configuration object that does not match the API schema
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question