Open pedrofurtado opened 6 years ago
@rafaelfranca @schneems Do you think to insert it in roadmap?
Hoping to give this a bump. babel-transpiler
does appear to be abandoned - no commits in ~3 years, and no responses to PRs or issues. What is the path forward for es6 support?
If we switch from the babel-transpiler
gem dependency to requiring the user to install Babel on its own, that would allow sprockets to be used also with swc
.
SWC (Snappy Web Compiler) is Javascript/Typescript/React-JSX transpiler written in rust, and beucase of that, it doesn't require NodeJS to be available on the machine, and it's also super fast (up to 16-20x faster than Babel).
They have a CLI that behaves similar to Babel (on purpose) so you can easily switch from one to the other. See: https://swc-project.github.io/blog/#migrating-from-babel for more info.
Well, we've moved to webpacker + Yarn :+1:
@rafaelfranca @schneems
The integration with gem
babel-transpiler
is great, but that gem is outdated (and I think that is also unmaintained anymore). The last Babel version used in this gem is 5.8.x. The Babel now is 6.x and 7.x beta.Any plans to migrate the ES6 compiling with
babel-transpiler
gem to yarn/npm package of Babel?Thanks!