webpack/test/configCases/context-modules/replacement-b/webpack.config.js

7 lines
196 B
JavaScript
Raw Normal View History

2025-04-22 18:49:30 +08:00
const webpack = require("../../../../");
2017-09-25 20:11:27 +08:00
/** @type {import("../../../../").Configuration} */
2017-09-25 20:11:27 +08:00
module.exports = {
2025-07-08 22:46:17 +08:00
plugins: [new webpack.ContextReplacementPlugin(/replacement.b$/, /^\.\/only/)]
2017-09-25 20:11:27 +08:00
};