Skip to content

feat: enable error overlay by default #2050

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

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Conversation

chenjiahan
Copy link
Member

Summary

Starting from v0.6, the default value of dev.client.overlay is true. This means that the error overlay is displayed by default when there are compilation errors.

image

You can disable it by setting dev.client.overlay to false:

// rsbuild.config.ts
export default defineConfig({
  dev: {
    client: {
      overlay: false,
    },
  },
});

Related Links

#1970

Checklist

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

Copy link

netlify bot commented Apr 9, 2024

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit de6e89e
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/661545e97f42170008b4dc11
😎 Deploy Preview https://deploy-preview-2050--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: 91 (🟢 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 a153288 into main Apr 9, 2024
@chenjiahan chenjiahan deleted the enable_error_overlay_0409 branch April 9, 2024 14:37
@chenjiahan chenjiahan mentioned this pull request Apr 10, 2024
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.

1 participant