babel
徐泰0421
哇啦
展开
-
在vscode工具和node.js环境中使用babel去配置es6+
配置和运行查看文档,首先安装好@babel/cli, @babel/preset-env, @babel/core等模块使用到了Babel built-ins CLI,那么文档中的Language APIs Node是什么东西,怎么用?暂时没测试,等后续来去了解一下。然后根据自己测试需要,在根目录创建index.js使用命令 touch index.js其实打开这个文件夹看./node_m...原创 2019-08-09 10:27:45 · 867 阅读 · 0 评论 -
初学使用Babel
Babel记住官网链接babeljs.ioDocsGeneralPresetsenvoptionsuseBuiltInsuseBuiltIns: 'entry'This option enables a new plugin that replaces the import “core-js/stable”; and import “regenerator-runtime/ru...原创 2019-08-26 21:55:37 · 378 阅读 · 0 评论