请问可以整成组件发布到npm上嘛
LYLCYM opened this issue · comments
LYLCYM commented
我自己将代码下载想试着打包成组件,然后我在vite.config.ts里面配置了build.lib打包时候就会报错Invalid value "umd" for option "output.format" - UMD and IIFE output formats are not supported for code-splitting builds.
大佬,能帮忙看下嘛
Yiuman Kam commented
找天有空我瞄下,打包成组件的话,估计还得封一层