Replies: 12 comments
-
Hey, Any update about this? Cheers! |
Beta Was this translation helpful? Give feedback.
-
The underlying package we use is I'd like to avoid adding a new configuration option for the browser, so I'm hesitant on adding this feature. |
Beta Was this translation helpful? Give feedback.
-
Hey! Why not? It will not break anything, only add flexibility, which is always good 😄! Consider that peoples often use two browsers, it would be a nice feature to add:
Cheers |
Beta Was this translation helpful? Give feedback.
-
It could be also useful for developer using webpack-bundle-analyzer in their library... |
Beta Was this translation helpful? Give feedback.
-
To make it even better, I'll suggest to replace opener with open. |
Beta Was this translation helpful? Give feedback.
-
Additional flexibility is a double-edged sword. It makes the API surface larger, making the tool harder to use as documentation grows longer. Adding new options also introduces maintenance burden as we will need to make sure the new feature does not accidentally break. We don't currently have the testing infrastructure for the So that is why I am not eagerly adding this feature. |
Beta Was this translation helpful? Give feedback.
-
I would be agree if it was a huge add, but it's just easy as passing browser argument from webpack-bundle-analyzer to open. How could that break anything or make future that more complicated? I don't get it honestly... |
Beta Was this translation helpful? Give feedback.
-
I would probably wait until sindresorhus/open#116 is implemented. |
Beta Was this translation helpful? Give feedback.
-
Thanks @sindresorhus, looks like that would indeed help. |
Beta Was this translation helpful? Give feedback.
-
FWIW: Until/if this is supported, you can hack around it with a script that overrides e.g. I put this script named
And it allows me to choose my browser in the |
Beta Was this translation helpful? Give feedback.
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
Might not be, maybe a dependency bump is needed with this feature. Feel free to create a PR :) |
Beta Was this translation helpful? Give feedback.
-
Hi,
Actually
webpack-bundle-analyzer
doesn't offer an option to choose which browser open.The option can only be set to default or null.
As many people use a different browser for development than for browsing it could be nice to have such choice.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions