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

feat: support print error module traces #3986

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

9aoy
Copy link
Contributor

@9aoy 9aoy commented Nov 15, 2024

Summary

support print error module traces when stats.moduleTrace is enabled.

Maybe we can enable moduleTrace by default, because it is enabled by default in preset: 'errors-only'

export default {
  tools: {
    rspack: {
      stats: {
        moduleTrace: true,
      },
    },
};
image

Related Links

resolve: #3983

Checklist

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

Copy link

netlify bot commented Nov 15, 2024

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 328090e
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/67371571cf554700088dc2a8
😎 Deploy Preview https://deploy-preview-3986--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: 66 (🔴 down 10 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.

Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

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

I agree that moduleTrace should be enabled by default, this can be another PR

@chenjiahan chenjiahan merged commit 87716db into main Nov 15, 2024
10 checks passed
@chenjiahan chenjiahan deleted the print-module-trace branch November 15, 2024 14:02
@chenjiahan chenjiahan mentioned this pull request Nov 18, 2024
@9aoy 9aoy mentioned this pull request Nov 18, 2024
2 tasks
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.

[Feature]: Difficulty debugging and locating error files
2 participants