babel-plugin-add-module-exports icon indicating copy to clipboard operation
babel-plugin-add-module-exports copied to clipboard

Upgrade to support babel-preset-es2017 and beyond

Open Dan503 opened this issue 7 years ago • 0 comments

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.

Dan503 avatar Apr 15 '17 01:04 Dan503