mirror of https://github.com/webpack/webpack.git
17 lines
339 B
JavaScript
17 lines
339 B
JavaScript
const { ModuleFederationPlugin } = require("../../../../").container;
|
|
|
|
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
plugins: [
|
|
new ModuleFederationPlugin({
|
|
remoteType: "commonjs-module",
|
|
remotes: {
|
|
containerB: "../1-container-full/container.js"
|
|
},
|
|
shared: {
|
|
react: "^2.0.1"
|
|
}
|
|
})
|
|
]
|
|
};
|