-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--why and custom webpack config #67
Comments
Wondering if this is the same issue: When we create a custom config, |
Yeap, we do not have good UI explain that we do not support Just use Webpack Bundle Analyzer manually. |
ok, then one question: When I configure bundle analyzer manually, size-limit switches from reporting package as the gzipped value to the parsed sized value. How can I get size-limit to report the gzipped value when using a custom Webpack Bundle Analyzer config? |
You need two configs. One you will use to build app and in Size Limit. The second will use Webpack Bundle Analyzer. |
The problem i am having is that size limit fails if my build include sass files. So I need a custom config for size limit. I believe I want to set...
...but it is not honoring this value. when I dont specify a config, the reported size in the console was the gzip size (around 45K) I can see in bundle analyzer both have been computed (and are correct). I just want |
I have a better option for you. If you have big webpck application it will be better to use https://github.com/ai/size-limit#usage-for-applications-and-big-libraries |
Is there any chance to support |
You can try manually add Webpack Bundle Analyzer to CRA |
Not really. You can't edit CRA config |
Sorry. Seems like CRA is not the best thing. It will help if we will force CRA to more to sharec (when it will be stabilized) to be able to change configs. |
We need a docs with
Webpack Bundle Analyzer
or hack inindex.js
to add plugin automatically.The text was updated successfully, but these errors were encountered: