svengau / cra-bundle-analyzer

Use Webpack Bundle Analyzer on a create-react-app application without ejecting
47 stars 3 forks source link

Passing options to bundle-analyzer #3

Closed keemor closed 4 years ago

keemor commented 4 years ago

Hi,

Is it possible to pass any options to bundle-analyzer to change the default output file?

Thanks for great package 👍

svengau commented 4 years ago

hello @keemor, no it's not possible right now, but if you propose a PR, I will be glad to merge it.

keemor commented 4 years ago

hello @svengau

4 Here is my proposition

svengau commented 4 years ago

@keemor thanks for the proposition. it looks great, but the default value "report.html" is missing.

keemor commented 4 years ago

@svengau report.html is a bundle-analyzer default, so there's no need have it here, it already works as expected

keemor commented 4 years ago

@svengau Do you think you can release this change and we could close this issue? Cheers,

svengau commented 4 years ago

sorry for the delay. I've just published the package.