webpack-federation-module-id-plugin
v1.0.0
Published
Change webpack module id of the federation modules
Downloads
1,787
Maintainers
Readme
webpack-federation-module-id-plugin
Installation
npm i --save-dev webpack-federation-module-id-plugin
yarn add --dev webpack-federation-module-id-plugin
Usage
const FederationModuleIdPlugin = require("webpack-federation-module-id-plugin");
module.exports = {
plugins: [
new FederationModuleIdPlugin(),
],
};
Docs
This plugin will change the module id of all the federation modules. The new id will be in the following form: webpack/container/remote/appName/moduleName