|
var path = require("path");
|
|
var webpack = require("../../../../");
|
|
|
|
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
plugins: [
|
|
new webpack.ContextReplacementPlugin(
|
|
/replacement/,
|
|
path.resolve(__dirname, "modules"),
|
|
{
|
|
a: "./module-b"
|
|
}
|
|
)
|
|
]
|
|
};
|