转码结果输出到标准输出 $ babel example.js # 转码结果写入一个文件 # --out-file 或-o 参数指定输出文件 $ babel ... 上面代码是在全局环境下,进行Babel转码。
確定! 回上一頁