18 lines
398 B
JavaScript
18 lines
398 B
JavaScript
const IgnorePlugin = require("../../../../").IgnorePlugin;
|
|
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
entry: {
|
|
a: "./intentionally-missing-module.js",
|
|
b: ["./intentionally-missing-module.js"],
|
|
bundle0: ["./index"]
|
|
},
|
|
output: {
|
|
filename: "[name].js"
|
|
},
|
|
plugins: [
|
|
new IgnorePlugin({
|
|
resourceRegExp: new RegExp(/intentionally-missing-module/)
|
|
})
|
|
]
|
|
};
|