Skip to content

Instantly share code, notes, and snippets.

@zymr-keshav
Created November 2, 2017 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zymr-keshav/3f7efc281d1258bd8eaf0a6064184a77 to your computer and use it in GitHub Desktop.
Save zymr-keshav/3f7efc281d1258bd8eaf0a6064184a77 to your computer and use it in GitHub Desktop.
sublime build to run es6 code in a js file, install babel-cli and preset prior to that, you can change the babel-node path according to you.
{
"cmd": ["/Users/keshav.m/.nvm/versions/node/v6.11.4/bin/babel-node $file"],
"shell": true,
"selector": "*.js"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment