webpack/test/statsCases/preset-errors-warnings/webpack.config.js

12 lines
230 B
JavaScript

const LogTestPlugin = require("../../helpers/LogTestPlugin");
module.exports = {
mode: "production",
entry: "./index",
stats: "errors-warnings",
infrastructureLogging: {
level: "warn"
},
plugins: [new LogTestPlugin()]
};