Closed
Description
Just a thought to make it less opinionated/remove devServer requirement when not using webpack-dev-server:
if (!compiler.options.output.path) {
throw new Error('output.path is not defined.');
}
if (compiler.options.devServer && (compiler.options.devServer.outputPath !== compiler.options.output.path)) {
throw new Error('output.path and devServer.outputPath must be equal.');
}
outputPath = compiler.options.output.path;
Readme could say something along the lines of "If using webpack-dev-server, devServer.outputPath must equal output.path."