-
Notifications
You must be signed in to change notification settings - Fork 8
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
Breaking Change: update to Babel 6 & babel-plugin-espower 2.0 #22
Conversation
Babel 6 has many many breaking change. So, update to Babel 6 and espower-babel break backword compatible too. Ref: https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.0.0 http://babeljs.io/blog/2015/10/29/6.0.0/
done. @twada please review it 🙇 |
} | ||
}) | ||
``` | ||
|
||
**Caution**: | ||
|
||
Babel 6 has not transform by default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Babel 6 does not transform your code by default.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
|
||
```js | ||
require('espower-babel')({ | ||
babelrc: { | ||
stage: 0 | ||
"presets": ["es2015", "stage-3"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
presets
might be different among users so I've omitted the presets part in README.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'v added e.g.)
to above of the example.
(I like copy-pastable exampe)
real example work fine! |
Okay, LGTM!! |
Breaking Change: update to Babel 6 & babel-plugin-espower 2.0
Babel 6 has many many breaking changes.
So, to update to Babel 6 and espower-babel break backword compatible too.
Ref:
https://github.com/power-assert-js/babel-plugin-espower/releases/tag/v2.0.0
http://babeljs.io/blog/2015/10/29/6.0.0/
close #21