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 }}
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
I get the following error when running babel src -d dist in my terminal:
Unexpected token import
What's weird though is if I remove the webpack-alias plugin, everything compiles correctly. Interestingly, if I use webpack-alias with node-babel, it also works. Only when I use babel from the babel-cli package do I get the error.
The text was updated successfully, but these errors were encountered:
tituswoo
changed the title
Does not seem to work with babel
Does not seem to work with babel
Feb 5, 2017
Love this plugin. However I seem to be having some issues with the plugin/preset run ordering... Given the following
.babelrc
file:I get the following error when running
babel src -d dist
in my terminal:What's weird though is if I remove the
webpack-alias
plugin, everything compiles correctly. Interestingly, if I usewebpack-alias
withnode-babel
, it also works. Only when I usebabel
from thebabel-cli
package do I get the error.The text was updated successfully, but these errors were encountered: