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

docs: add guide for using Web Workers #3795

Merged
merged 10 commits into from
Oct 23, 2024
Merged

docs: add guide for using Web Workers #3795

merged 10 commits into from
Oct 23, 2024

Conversation

9aoy
Copy link
Collaborator

@9aoy 9aoy commented Oct 22, 2024

Summary

Introduce how to configure and use Web Workers in Rsbuild project.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit ed47fe9
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/6718ab660729ab0008f019c7
😎 Deploy Preview https://deploy-preview-3795--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 84 (🟢 up 13 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

website/docs/en/config/output/target.mdx Outdated Show resolved Hide resolved
website/docs/en/guide/basic/web-worker.mdx Outdated Show resolved Hide resolved
website/docs/en/guide/basic/web-worker.mdx Outdated Show resolved Hide resolved
website/docs/en/guide/basic/web-worker.mdx Outdated Show resolved Hide resolved
website/docs/en/guide/basic/web-worker.mdx Outdated Show resolved Hide resolved
@chenjiahan chenjiahan changed the title docs: add web-worker guide docs: add guide for using Web Workers Oct 22, 2024

This chapter introduces how to configure and use [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers) in Rsbuild project.

import WebWorkers from '@en/shared/webWorkers.mdx';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

webWorkers.mdx is only used by current mdx, do we need to split it?

@chenjiahan chenjiahan merged commit d9acb8e into main Oct 23, 2024
9 checks passed
@chenjiahan chenjiahan deleted the docs/web-worker branch October 23, 2024 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants