-
-
Notifications
You must be signed in to change notification settings - Fork 644
Closed
Description
I have a webpack configuration which is merged with other:
var commonConfig = require("./webpack.common.config.js");
var webpack = require("webpack");
var merge = require("webpack-merge");
var CopyWebpackPlugin = require("copy-webpack-plugin");
var resourcesFolder = "resources";
module.exports = merge(commonConfig, {
entry: {
....
}
});When I run webpack-cli --migrate I get:
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration misses the property 'entry'.
object { <key>: non-empty string | [non-empty string] } | non-empty string | [non-empty string] | function
The entry point(s) of the compilation.
Can you support this scenario too?