@58fe/babel-plugin-v5-import

V5组件库按需加载插件

Usage no npm install needed!

<script type="module">
  import 58feBabelPluginV5Import from 'https://cdn.skypack.dev/@58fe/babel-plugin-v5-import';
</script>

README

V5组件库按需加载插件

安装

npm i @58fe/babel-plugin-v5-import -D

使用

.babelrc 中配置该插件

{
    ...
    plugins:["@58fe/babel-plugin-v5-import"]
}