webpack-federation-stats-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

webpack-federation-stats-plugin

Installation

npm i --save-dev webpack-federation-stats-plugin

yarn add --dev webpack-federation-stats-plugin

Usage

const FederationStatsPlugin = require("webpack-federation-stats-plugin");

module.exports = {
  plugins: [
    new FederationStatsPlugin({filename: "federation-stats.json"}),
  ],
};

Example Output

{
  "name": "AppName",
  "exposes": {
    "module1": [
      "vendors-node_modules_babel_runtime_helpers_esm_slicedToArray.js",
      "vendors-node_modules_core-js.js",
      "vendors-node_modules_prop-types_index_js.js",
    ],
    "module2": ["vendors-node_modules_core-js.js",],
    "module3": [
      "vendors-node_modules_babel.js",
      "vendors-node_modules_core-js.js",
    ]
  }
}

Package Sidebar

Install

npm i webpack-federation-stats-plugin

Weekly Downloads

699

Version

1.1.0

License

MIT

Unpacked Size

6.32 kB

Total Files

5

Last publish

Collaborators

  • daniel_amenou