Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
unoti
on June 17, 2015
|
parent
|
context
|
favorite
| on:
ECMAScript 2015 Approved
Whoa, thanks for introducing me to Babel. It looks like user plugins could be wildly, astonishingly powerful for doing compile-time code execution.
girvo
on June 18, 2015
[–]
Correct. One of my favourite at the moment is `babel-plugin-rewire`, which is a neat replacement for `rewire` -- allowing easy unit testing in full isolation by hijacking the `import` statements :)
[0]
https://www.npmjs.com/package/babel-plugin-rewire
[1]
https://www.npmjs.com/package/rewire
Lazare
on June 18, 2015
|
parent
[–]
Just started using that yesterday, and it's lovely.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: