feat: support webpack-bundle-analyzer with CLI
See original GitHub issueIs your feature request related to a problem? Please describe.
We can have an analyze
flag which invokes webpack-bundle-analyzer as bundle information is crucial limiting size and determining potential bloats
Describe the solution you’d like we can list it in peer dep and use the analyzer which the user has installed instead of shipping out of the box to keep package size low.
Describe alternatives you’ve considered
Additional context /cc @evilebottnawi
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to run webpack-bundle-analyzer? - Stack Overflow
var BundleAnalyzerPlugin = require('webpack-bundle-analyzer'). ... CLI, then you need to disable server in the webpack.config.js like this:
Read more >@vue/cli-ui-addon-webpack | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >@bundle-analyzer/cli - npm
Official CLI compatible with Bundle Analyzer service. Install. npm install --save-dev @bundle-analyzer/cli. Usage. Usage: ...
Read more >Snowpack vs. webpack: A build tool comparison
Launched in 2012, the JavaScript module bundler has been a cornerstone of modern JavaScript and a feat of engineering. The JS ecosystem simply ......
Read more >Angular CLI v9.1.0-next.0 Release - GitClear
Angular 9 Backward Compatibility for CSS Grids in IE 11 · #17041. webpack-bundle-analyzer errors out on differential build - no such file.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes:
peerDependenciesMeta
withoptions
--analyze
flag addingwebpack-bundle-analyzer
as a pluginwebpack-bundle-analyzer
and read options from schema (can be done late)Let’s start working on next first before adding more fetures.