Skip to content

fix: the pkg type error in moduleResolution: node16#2127

Merged
Timeless0911 merged 1 commit intomainfrom
syt/fix-node16-error
May 7, 2025
Merged

fix: the pkg type error in moduleResolution: node16#2127
Timeless0911 merged 1 commit intomainfrom
syt/fix-node16-error

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented May 7, 2025

Summary

fix: the pkg type error in moduleResolution: node16

  1. @types/unist Phantom dependency
image
  1. node16 moduleResolution

https://lib.rsbuild.dev/config/lib/redirect#redirectdtsextension

redirect: {
  dts: {
    extension: true
  }
}

Related Issue

close #2114

Checklist

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

@netlify
Copy link
Copy Markdown

netlify bot commented May 7, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit 550a677
🔍 Latest deploy log https://app.netlify.com/sites/rspress-v2/deploys/681af74d4557670008fca7b2
😎 Deploy Preview https://deploy-preview-2127--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@netlify
Copy link
Copy Markdown

netlify bot commented May 7, 2025

Deploy Preview for rspress ready!

Name Link
🔨 Latest commit 550a677
🔍 Latest deploy log https://app.netlify.com/sites/rspress/deploys/681af74df74b1a00083f2372
😎 Deploy Preview https://deploy-preview-2127--rspress.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: 70 (🔴 down 22 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (🟢 up 9 from production)
SEO: 100 (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.

@Timeless0911 Timeless0911 merged commit d199942 into main May 7, 2025
13 checks passed
@Timeless0911 Timeless0911 deleted the syt/fix-node16-error branch May 7, 2025 06:16
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.

[Bug][2.0]: Types is not working with "moduleResolution": "node16"

2 participants