Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sprjr
on June 17, 2015
|
parent
|
context
|
favorite
| on:
The Final ES2015 (ES6) Draft
* npm init * npm i -S babel * vi file.js * first line: require('babel/register'); * Yay, now you can finally just fucking code now.
Learn your tools:
https://babeljs.io/docs/usage/require/
Touche
on June 17, 2015
[–]
I have to bundle it to run it in the browser (or use babel in the client which has an entirely different set of problems). I know these tools very well.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Learn your tools: https://babeljs.io/docs/usage/require/