@embrapa/module-federation-enhanced-plugin

2.0.3 • Public • Published

ModuleFederationEnhacedPlugin

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

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 @embrapa/module-federation-enhanced-plugin

Config

const ModuleFederationEnhacedPlugin = require("@embrapa/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"
      },
    }),
  ],
};

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

1

Version

2.0.3

License

MIT

Unpacked Size

21 kB

Total Files

22

Last publish

Collaborators

  • schirrel