webpack/test/statsCases/preset-errors-only-error/webpack.config.js

15 lines
291 B
JavaScript
Raw Permalink Normal View History

"use strict";
2019-07-31 23:16:37 +08:00
const LogTestPlugin = require("../../helpers/LogTestPlugin");
/** @type {import("../../../").Configuration} */
module.exports = {
mode: "production",
entry: "./index",
stats: "errors-only",
infrastructureLogging: {
level: "error"
},
2019-07-31 23:16:37 +08:00
plugins: [new LogTestPlugin()]
2017-01-11 17:51:58 +08:00
};