mirror of https://github.com/webpack/webpack.git
14 lines
313 B
JavaScript
14 lines
313 B
JavaScript
const { ModuleFederationPlugin } = require("../../../../").container;
|
|
|
|
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
plugins: [
|
|
new ModuleFederationPlugin({
|
|
name: "container",
|
|
filename: "container.js",
|
|
library: { type: "commonjs-module" },
|
|
exposes: ["./module"]
|
|
})
|
|
]
|
|
};
|