4 ms·
The transpilation thing is actually an entirely separate concern from your original post. It's a subpar solution to an unfortunate situation that people want to
by niftich 10y ago
The transpilation thing is actually an entirely separate concern from your original post. It's a subpar solution to an unfortunate situation that people want to use the latest version of the language, but not all target platforms run it yet.
For lack of a better term, treat ES.Next like a compiled language, and Babel as your compiler. It's the status quo until the platforms we run code in catch up to natively executing the code JS devs want to write.
- aligajani 10y agoI know, I just didn't mean to deviate away from my original post. By the way, I use Buble with Webpack. Buble has a cleaner output than Babel. https://gist.github.com/angus-c/feea4e4cd0b853dc04c71fa4e7d2f83f https://gist.github.com/angus-c/feea4e4cd0b853dc04c71fa4e7d2...