-
Notifications
You must be signed in to change notification settings - Fork 508
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
Add closure compiler #358
Comments
1st impression: it works :) |
oh, I see difference in bundle size: |
good! what are the tradeoffs of simple vs advanced optimization? we should try running against formik to get a good gauge on % savings nice work so far! |
SIMPLE_OPTIMIZATIONS do same things as Terser plugin (and in my case optimized bundle size was little bit larger than terser's one) BUT. there was a problem with 'ADVANCED_OPTIMIZATIONS' level in my lib with regeneratorRuntime polyfill |
can be implemented as |
Dynamic import doesn't work on the closure compiler 🤔 |
Steal it from here : https://github.com/ReactTraining/history/blob/dev/rollup.config.js
The text was updated successfully, but these errors were encountered: