Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问可以整成组件发布到npm上嘛 #19

Open
LYLCYM opened this issue Dec 6, 2021 · 1 comment
Open

请问可以整成组件发布到npm上嘛 #19

LYLCYM opened this issue Dec 6, 2021 · 1 comment

Comments

@LYLCYM
Copy link

LYLCYM commented Dec 6, 2021

我自己将代码下载想试着打包成组件,然后我在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
Copy link
Owner

Yiuman commented Dec 6, 2021

找天有空我瞄下,打包成组件的话,估计还得封一层

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants