1.1.0 • Published 3 months ago

webpack-federation-stats-plugin v1.1.0

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

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",
    ]
  }
}
1.1.0

3 months ago

1.0.3-beta.0

3 months ago

1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago