neutrinojs / neutrino Public
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
Make it easier to use useBuiltIns: 'usage'
#1470
Comments
Perhaps we should switch from However since then, I'm presuming the bugs have been worked out solving (a), and we now dynamically set it to Either way we should probably also now replace the The description of entry vs usage can be seen here. |
Sounds like that could be a good move. It used to be noted as "experimental" in Babel docs, but doesn't seem to be any longer. I just started using it has seemed to work great so far, and dropped my bundle size significantly.
Yep! |
@edmorley I can squeeze in a PR tomorrow if you think changing this to |
@timkelty yeah let's do it :-) |
useBuiltIns
optionuseBuiltIns: 'usage'
K, I'll PR today! |
AFAIK, if you want to change
@babel/preset-env
'suseBuiltIns
option, you have to pass the preset config in its entirety, e.g.:…would it be worth it to make this easier to change via options (similar to how we have
options.targets
)?The text was updated successfully, but these errors were encountered: