mirror of https://github.com/webpack/webpack.git
19 lines
423 B
JavaScript
19 lines
423 B
JavaScript
"use strict";
|
|
|
|
const NoEmitOnErrorsPlugin = require("../../../").NoEmitOnErrorsPlugin;
|
|
const TestChildCompilationFailurePlugin = require("./TestChildCompilationFailurePlugin");
|
|
|
|
/** @type {import("../../../").Configuration} */
|
|
module.exports = {
|
|
entry: "./index",
|
|
output: {
|
|
filename: "bundle.js"
|
|
},
|
|
plugins: [
|
|
new NoEmitOnErrorsPlugin(),
|
|
new TestChildCompilationFailurePlugin({
|
|
filename: "child.js"
|
|
})
|
|
]
|
|
};
|