Re:ECMAScript 2015 Approved
by unoti on Wednesday June 17, 2015 @06:00PM
(#9735586)
Whoa, thanks for introducing me to Babel. It looks like user plugins could be wildly, astonishingly powerful for doing compile-time code execution.
[ Parent
| on HN ]
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 :)