webpack/test/configCases/errors/multi-entry-missing-module/webpack.config.js

15 lines
297 B
JavaScript
Raw Normal View History

const IgnorePlugin = require("../../../../lib/IgnorePlugin");
module.exports = {
2018-01-19 09:21:00 +01:00
entry: {
b: ["./intentionally-missing-module.js"],
bundle0: ["./index"]
},
output: {
filename: "[name].js"
},
plugins: [new IgnorePlugin(/intentionally-missing-module/)],
2018-01-19 09:21:00 +01:00
node: {
__dirname: false
}
};