/traverse-esm-component

😶 保持文件结构转换 tsx/less 组件为 js/css 到其他目录

Primary LanguageJavaScript

traverse-esm-component

npm version

转换 tsx/less 为 js/css,保持文件目录结构输出到指定目录,可以用来打包组件库,输出 esm 模式

Install

$ npm install traverse-esm-component
$ npx tec -s components -t es

Params

-s:

要转化的源文件夹

-t:

转化后输出的文件夹

-h:

帮助说明