babel-plugin-merge-imports:Babel插件,用于转换嵌套的导入

时间:2024-05-21 17:45:09
【文件属性】:

文件名称:babel-plugin-merge-imports:Babel插件,用于转换嵌套的导入

文件大小:19KB

文件格式:ZIP

更新时间:2024-05-21 17:45:09

JavaScript

babel-plugin-merge-imports Babel插件,用于转换嵌套的导入 例子 .babelrc { " plugins " : [ [ " ./src " , { " pkg " : " openlayers " , " pkgVar " : " __ol " , " regex " : " ^ol(?: \/ (.*))?$ " , }] ] } 前 // Variables should contain original name from OpenLayers package import Map from 'ol/map' import tilegrid from 'ol/tilegrid' import VectorLayer from 'ol/layer/vector' import Vecto


【文件预览】:
babel-plugin-merge-imports-master
----.gitignore(2KB)
----babel-plugin-merge-imports.iml(439B)
----README.md(1KB)
----LICENSE(492B)
----package.json(859B)
----src()
--------index.js(2KB)
--------test.js(1KB)
----.babelrc(131B)
----.idea()
--------deployment.xml(312B)
--------encodings.xml(159B)
--------vcs.xml(167B)
--------misc.xml(1KB)
--------modules.xml(292B)
--------watcherTasks.xml(139B)
--------inspectionProfiles()
--------jsLibraryMappings.xml(187B)
--------php.xml(149B)
----.editorconfig(421B)
----package-lock.json(47KB)

网友评论