Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

这个bug解决不掉,我的分包方式有问题, #1375

You must be logged in to vote

Replies: 1 comment · 2 replies

Comment options

用 vercel preview ?

You must be logged in to vote
2 replies
@kagol
Comment options

kagol Feb 6, 2024
Maintainer

得看下 vercel 是否也有这个限制

@mengqiuleo
Comment options

应该可以,vercel限制是 15,000:https://vercel.com/docs/limits/overview#files

现在 vite 原生打包后的 js 文件有:3059

@demos 文件夹可以优化,如果不使用 vite 插件拷贝,使用自定义脚本拷贝,优化后的数量是:3733

所以最后的文件数量应该 不到 8000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.