You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integration with preset-env - compile target option #428
Some optimizations which involve creating new functions or replacing or adding new functions or variables could be simplified to use the newer JS syntax (arrow functions, object methods, shorthand properties, default params, etc...). But we need an option to specify the target language version.
With babel-preset-env data it is possible to specify the target browsers, nodejs versions and use a particular feature - say arrow-functions, or spread-operator based on the computed values.
changed the title [-]Option to specify compile target - Integration with preset-env[/-][+]Integration with preset-env - compile target option[/+]on Feb 17, 2017
I think this relies on enhancing the cli. Because the new cli would take presets options and some other babel options !?? Using the compat-table data would not be possible then !
Activity
[-]Option to specify compile target - Integration with preset-env[/-][+]Integration with preset-env - compile target option[/+]nitin42 commentedon Feb 19, 2017
I think this relies on enhancing the cli. Because the new cli would take presets options and some other babel options !?? Using the
compat-tabledata would not be possible then !