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 6 can't transform the index.js file without explicitly specifying the necessary plugins. In my project these are listed in a .babelrc file but Babel stops looking for configuration options when it encounters the package.json file.
Adding the configuration for Babel 6 seems brittle though, and won't work if the depending project is using Babel 5. Perhaps the es5 file should just be the default? That'd be the most compatible solution.
I could do a PR for this if you're interested.
The text was updated successfully, but these errors were encountered:
Babel 6 can't transform the
index.js
file without explicitly specifying the necessary plugins. In my project these are listed in a.babelrc
file but Babel stops looking for configuration options when it encounters thepackage.json
file.Adding the configuration for Babel 6 seems brittle though, and won't work if the depending project is using Babel 5. Perhaps the
es5
file should just be the default? That'd be the most compatible solution.I could do a PR for this if you're interested.
The text was updated successfully, but these errors were encountered: