Skip to content

Conversation

chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented May 16, 2024

Summary

After merging #2361, an unexpected rebuild will occur when Rspress starts:

img_v3_02au_b5b166f9-bccb-47e2-956a-ffae47a094fg

Then I found that lazy import webpack-dev-middleware can solve this issue, this may be some side effects of webpack-dev-middleware on fs.

This PR lazy import webpack-dev-middleware to fix this issue.

Checklist

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

Sorry, something went wrong.

Copy link

netlify bot commented May 16, 2024

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 3801113
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/6645fcdd39f7f30008aa4baa
😎 Deploy Preview https://deploy-preview-2367--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: 89 (🟢 up 13 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@chenjiahan chenjiahan merged commit 1203c99 into main May 16, 2024
@chenjiahan chenjiahan deleted the lazy_import_wdm_0516 branch May 16, 2024 13:32
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.

None yet

1 participant