Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
deanshub committed Jul 1, 2023
1 parent 22ec3c5 commit 73f96e1
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions packages/legacy-in-it-stats-plugin/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Legacy In It Stats Plugin

## Description

This plugin is used to generate stats file for webpack and send it to the in-it server.
to analyze the bundles of your app over time.

## Installation

```bash
npm install --save-dev legacy-in-it-stats-plugin
```

## Usage

```js
// webpack.config.js
const LegacyInItStatsPlugin = require('legacy-in-it-stats-plugin');

module.exports = {
// ...
plugins: [
new LegacyInItStatsPlugin({
// options
}),
],
};
```

## Options

reportFilename: string; // filename of the json report
serverUrl: string; // url of the in-it server
buildId: string; // id of the build
outDir: string; // directory to write the report to
name?: string; // name of the app

0 comments on commit 73f96e1

Please sign in to comment.