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

bug: worker 工作不正常 #705

Open
1 of 2 tasks
stormslowly opened this issue Nov 22, 2023 · 0 comments
Open
1 of 2 tasks

bug: worker 工作不正常 #705

stormslowly opened this issue Nov 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@stormslowly
Copy link
Member

stormslowly commented Nov 22, 2023

内部项目 : iBigfish/qly-bigfish 分支:bad_worker_chunk

项目访问 /home worker chunk 中报错,
image

模块 node_modules/[email protected]@dayjs/dayjs.min.js 找不到

day.min.js 定义在 umi.js 和 dist/vendors_1-async.js 中
image

问题一

  • worker 启动的时候并没有加载 vendors_1

问题二

  • worker 的 load script 还是基于 script tag,这个在 worker 中不能用。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants