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
Babel is able to transpile code written in es2017 syntax using the babel-preset-es2017 plugin. babel-plugin-add-module-exports is only compatible with babel-preset-es2015 though.
Since this plugin is vital for modular javascript development, this forces developers into using es2015 syntax instead of being able to take advantage of the new features introduced in es2016 and es2017.
This plugin should be written in a way that is compatible with all current and future babel-preset plugins. If that is not possible, then the plugin should be updated to support the new babel-preset-es[year] plugin each time that a new one is created and released.
This would allow developers to take full advantage of any new features straight away.
The text was updated successfully, but these errors were encountered:
Babel is able to transpile code written in es2017 syntax using the
babel-preset-es2017
plugin.babel-plugin-add-module-exports
is only compatible withbabel-preset-es2015
though.Since this plugin is vital for modular javascript development, this forces developers into using es2015 syntax instead of being able to take advantage of the new features introduced in es2016 and es2017.
This plugin should be written in a way that is compatible with all current and future babel-preset plugins. If that is not possible, then the plugin should be updated to support the new
babel-preset-es[year]
plugin each time that a new one is created and released.This would allow developers to take full advantage of any new features straight away.
The text was updated successfully, but these errors were encountered: