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

feat: split options entrypoint chunks to limit file size under 4mb #459

Merged
merged 3 commits into from
Dec 8, 2024

Conversation

honwhy
Copy link
Contributor

@honwhy honwhy commented Dec 8, 2024

  • 找到wxt构建生成多模块打包配置的位置
  • 定位options入口配置,增加manualChunks配置
  • 重要的是通过npm run build:analyze 或者npx wxt zip -b firefox --analyze 命令对打包后的依赖大小进行分析

Copy link

github-actions bot commented Dec 8, 2024

⚡️ Deploying PR Preview...

@yanglbme yanglbme merged commit ec7a46f into doocs:main Dec 8, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants