scenario 1
const config = {
entry: {},
output: {},
module: {},
plugins: {},
}
webapck(config, (err, stat) => {})
The products of and
are inconsistent, mainly because there is no .html file generated by html-webpack-plugin
in scenario 1
so what"s the difference between the two build methods?