We can install Babel CLI locally by running:
$ npm install --save-dev babel-cli
https://babeljs.io/docs/usage/cli/
Step 1
Step 2
Step 3
配置Package Settings啊Preferences -> Package Settings -> Nodejs -> Settings - User
{
// save before running commands
"save_first": true,
// if present, use this command instead of plain "node"
// e.g. "/usr/bin/node" or "C:\bin\node.exe"
"node_command": "/usr/local/bin/node",
// Same for NPM command
"npm_command": "/usr/local/bin/npm",
// as 'NODE_PATH' environment variable for node runtime
"node_path": false,
"expert_mode": false,
"ouput_to_new_tab": false
}