babel-cli 工具自带一个 babel-node 命令,提供一个支持ES6的REPL环境。 ... script.js -o bundle.js \ -t [ babelify --presets [ es2015 react ] ].
確定! 回上一頁