@schirrel/module-federation-enhanced-plugin

2.0.2 • Public • Published

ModuleFederationEnhacedPlugin

Module Federation with a little bit more and all remotes async by default

Take a look at the full docs

Dont want o read the docs? Here's a TL/DR:

Features

  • Modules' Name List
  • Remotes' Name List
  • Remotes' URL List and Map
  • Remote definition with object
  • Default async

Install

npm i @schirrel/module-federation-enhanced-plugin

Config

const ModuleFederationEnhacedPlugin = require("@schirrel/module-federation-enhanced-plugin");
module.export = {
  //... rest of your config
  plugins: [
    new ModuleFederationEnhancedPlugin({
    // same as the ModuleFederationPlugin config
      exposes: {
        Button: "./src/Button",
        Input: "./src/Input"
      },
    }),
  ],
};

Disclaimer

The need of these features is part of my Master Degree with Embrapa at UFMS, and so them must to be like are writen here. Also some of these features will be present or are being proposed to the oficial Enhanced module federation plugin.
You can take a look at:

Readme

Keywords

none

Package Sidebar

Install

npm i @schirrel/module-federation-enhanced-plugin

Weekly Downloads

296

Version

2.0.2

License

MIT

Unpacked Size

22.5 kB

Total Files

23

Last publish

Collaborators

  • schirrel