-
Notifications
You must be signed in to change notification settings - Fork 202
There must be a way to provide Babel options #521
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
Comments
Maybe we can offer the second extended form of the
Or maybe there is a way to make |
I like the simplicity of this 🌹 Closed by #523 |
How does this work? I set this, I have babel installed in my node_modeuls dir, yet no transpilation with babel hapens. Also, the options are not available, I need to use babel plugins. |
@tomitrescak personally I've never used this option so can't be much help. With the TypeScript compiler getting a transformer based emitter soon, we wouldn't need to offload heavy plug-gable emitting to babel hopefully 🌹 |
It calls Babel on the emitted result before writing it to disk. This was a bit of a hack to get let for loops working pre-1.8 and it includes babel 5. Look at the referenced PR. |
Hello! Thanks for the awesome project.
I found the feature #475 with optional babel support very useful. But it seems incomplete to me, because there must be a way to specify Babel's options. Existed solutions like https://babeljs.io/docs/usage/babelrc/ don't work (or I'm doing something wrong).
The text was updated successfully, but these errors were encountered: