-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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(bundler-webpack): webpack pre-compiled support workerize-loader #10425
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Size Change: +1.49 kB (0%) Total Size: 9.92 MB
ℹ️ View Unchanged
|
Codecov ReportBase: 29.29% // Head: 29.29% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #10425 +/- ##
=======================================
Coverage 29.29% 29.29%
=======================================
Files 445 445
Lines 13007 13007
Branches 3178 3178
=======================================
Hits 3810 3810
Misses 8593 8593
Partials 604 604 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
对齐 nextjs 补了下 其它可能会被使用的插件 |
背景
workerize-loader 实现使用了
![image](https://user-images.githubusercontent.com/7599351/216873564-97729e28-8248-4527-9ced-de9d431869e2.png)
webpack/lib/node/NodeTargetPlugin
和webpack/lib/webworker/WebWorkerTemplatePlugin
umi 中预打包后无法正确访问解法
在 bundles 中 导出 通过
deepImports
requireHook
自动映射