1.0.0 • Published 3 years ago

webpack-federation-module-id-plugin v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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