babel plugin transform dynamic imports to static imports:将动态导入转换为静态导入的转换 源码
babel插件将动态导入转换为静态导入 将动态导入转换为静态导入的转换 安装: npm install babel-plugin-transform-dynamic-imports-to-static-imports 用法: 带有配置文件: { " plugins " : [ " babel-plugin-transform-dynamic-imports-to-static-imports " ] } 通过CLI babel --plugins babel-plugin-transform-dynamic-imports-to-static-imports script.js 通过节点API require ( "@babel/core" ) . transform ( "code" , { plugins : [ "babel-plugin-transform-dyna
文件列表
babel-plugin-transform-dynamic-imports-to-static-imports-main.zip
(预估有个13文件)
babel-plugin-transform-dynamic-imports-to-static-imports-main
index.js
2KB
renovate.json
58B
test.js
5KB
package.json
1KB
.github
ISSUE_TEMPLATE
feature-request.md
714B
bug-report.md
1KB
config.yml
28B
暂无评论