2017-12-28 14:21:47 +08:00
|
|
|
"use strict";
|
|
|
|
|
|
2025-04-22 18:49:30 +08:00
|
|
|
const NoEmitOnErrorsPlugin = require("../../../").NoEmitOnErrorsPlugin;
|
|
|
|
|
const TestChildCompilationFailurePlugin = require("./TestChildCompilationFailurePlugin");
|
2017-12-28 14:21:47 +08:00
|
|
|
|
2020-04-20 13:36:55 +08:00
|
|
|
/** @type {import("../../../").Configuration} */
|
2017-12-28 14:21:47 +08:00
|
|
|
module.exports = {
|
|
|
|
|
entry: "./index",
|
|
|
|
|
output: {
|
|
|
|
|
filename: "bundle.js"
|
|
|
|
|
},
|
|
|
|
|
plugins: [
|
|
|
|
|
new NoEmitOnErrorsPlugin(),
|
|
|
|
|
new TestChildCompilationFailurePlugin({
|
|
|
|
|
filename: "child.js"
|
|
|
|
|
})
|
|
|
|
|
]
|
|
|
|
|
};
|