-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update setup guide for babel6 #78
Comments
Opps, some bug here.
Any suggestions? |
ya, I know the issue. I will fix asap. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, thanks for the great tutorial.
I'm new to babel today, and I was unable to compile the code after following this setup guide.
After googling for a while, I found that babel now needs
presets
to compile.So, I suggest to update setup guide to official setup guide.
presets
and.babelrc
file.Adding this line might be better.
npm install babel-preset-es2015 --save-dev
echo '{ "presets": ["es2015"] }' > .babelrc
The text was updated successfully, but these errors were encountered: