webpack-federation-module-id-plugin

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i webpack-federation-module-id-plugin

Weekly Downloads

456

Version

1.0.0

License

MIT

Unpacked Size

3.78 kB

Total Files

4

Last publish

Collaborators

  • daniel_amenou