23 lines
372 B
JavaScript
23 lines
372 B
JavaScript
const LogTestPlugin = require("../../helpers/LogTestPlugin");
|
|
|
|
module.exports = {
|
|
mode: "production",
|
|
entry: "./index",
|
|
performance: false,
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /index\.js$/,
|
|
use: "custom-loader"
|
|
}
|
|
]
|
|
},
|
|
plugins: [new LogTestPlugin(true)],
|
|
stats: {
|
|
colors: true,
|
|
logging: true,
|
|
loggingDebug: "custom-loader",
|
|
loggingTrace: true
|
|
}
|
|
};
|