Docs: example to split stats by entry point

Open
#43 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, webpack
Domain
documentation

Research direction

Start with the linked inspectpack documentation note about multiple entry points and inspect the webpack-stats-plugin repository's existing documentation examples. Document a custom transform example that produces separate stats files for each entry point, and verify that the example explains how to use the plugin successfully.

Written by the indexing model from the issue text.

Description

The inspectpack docs say that you can use this plugin to generate separate stats files per entrypoint. Since it seems like a relatively important use case to get the most out of inspectpack, can you add that as an example in this repo? I'm having some trouble understanding how to properly write a custom transform function to do that.

Regardless, I love the plugin and docs for this in general, so thanks!

Dominant language
JavaScript
Stars
357
Forks
26
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FormidableLabs/webpack-stats-plugin

All issues in FormidableLabs/webpack-stats-plugin

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.