webpack / webpack/webpack-bundle-analyzer
Incorrect total size in search result
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 12.7k
- Forks
- 514
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 4
Description
Issue description
When I search for some modules total size isn't correct. It looks like total size is folder size + size of each file in folder
Technical info
- Webpack Bundle Analyzer version: 3.0.3
- Webpack version: 4.19.1
- Node.js version: 11.9.0
- npm/yarn version: 1.13.0
- OS: macOS Mojave
Debug info
How do you use this module? As CLI utility or as plugin?
plugin
If plugin, what options were provided? (e.g. new BundleAnalyzerPlugin({ analyzerMode: 'disabled', generateStatsFile: true }))
{ openAnalyzer: false }
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the incorrect total size in the plugin with the reported Webpack Bundle Analyzer 3.0.3 and Webpack 4.19.1 setup, using the provided screenshot as a reference. Trace how search results calculate folder and file sizes, and consider the issue done when a folder's size is not added twice to its total.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100