question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: support webpack-bundle-analyzer with CLI

See original GitHub issue

Is 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:open
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
alexander-akaitcommented, Sep 25, 2020

Yes:

  • Put in peerDependenciesMeta with options
  • for the --analyze flag adding webpack-bundle-analyzer as a plugin
  • need implement schema for webpack-bundle-analyzer and read options from schema (can be done late)
1reaction
snitin315commented, Apr 6, 2022

Let’s start working on next first before adding more fetures.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found