Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork503
-
Issue descriptionBy default, webpack bundle analyzer starts a server, which means that the webpack process will never terminate. This is undesirable in CI and other non-interactive environments - your jobs will hang indefinitely. Currently (as far as I can tell) there's no way to prevent this from happening without changing the webpack configuration code. This isn't always possible in CI (e.g. it's someone else's code, or it's an older version of your own code prior to the configuration change.) It would be great if there was some way to override the Happy to submit a PR if this sounds useful. Technical infoSystem: OS: macOS 11.5.2 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 260.25 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.14.0 - ~/.nodenv/versions/16.14.0/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: 8.3.1 - ~/.nodenv/versions/16.14.0/bin/npm npmPackages: compression-webpack-plugin: ^10.0.0 => 10.0.0 css-minimizer-webpack-plugin: ^4.2.2 => 4.2.2 fork-ts-checker-webpack-plugin: ^8.0.0 => 8.0.0 terser-webpack-plugin: 5 => 5.3.7 webpack: 5 => 5.82.0 webpack-assets-manifest: 5 => 5.1.0 webpack-bundle-analyzer: ^4.5.0 => 4.8.0 webpack-cli: 5 => 5.0.2 webpack-dev-server: ^4.7.4 => 4.13.3 webpack-merge: 5 => 5.8.0 |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 3 replies
-
Hi! Thanks for the the suggestion. I think it's out of scope for If we'd go with adding environment variables support, I'd hope we'd do it for all possible options and not only the |
BetaWas this translation helpful?Give feedback.
All reactions
-
Thanks@valscion, makes sense. My inspiration was the documentation for this 1st-party Github action, which I believe will just hang: I left them a note about it here: |
BetaWas this translation helpful?Give feedback.
All reactions
-
I've never usedhttps://github.com/github/webpack-bundlesize-compare-action myself but it does look like they could do with using the |
BetaWas this translation helpful?Give feedback.
All reactions
-
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #613 on September 24, 2023 06:03.

