Skip to content

fix(core): improve nodenext type declarations#1559

Draft
Timeless0911 wants to merge 1 commit intomainfrom
david/fix/core-nodenext-types
Draft

fix(core): improve nodenext type declarations#1559
Timeless0911 wants to merge 1 commit intomainfrom
david/fix/core-nodenext-types

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

@Timeless0911 Timeless0911 commented Mar 25, 2026

Summary

Switch the core declaration output to use extension-based dts redirects instead of writing an extra dist-types/package.json, and add dedicated bundler / NodeNext type-test fixtures under tests/type-tests.

Wire those fixtures into the @rslib/tests type-check flow so we can validate module-resolution-specific public type behavior in one place.

Please wait to merge this until web-infra-dev/rspack#13376 is released.

Related Links

Checklist

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

@Timeless0911 Timeless0911 force-pushed the david/fix/core-nodenext-types branch from 23d5ef2 to 8e7fbb2 Compare March 25, 2026 12:07
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