Skip to content

fix(bundle): remove post order of node-resolve#6353

Merged
johnjenkins merged 2 commits intostenciljs:mainfrom
Fa3ris:fix-rollup-plugin-resolveid-order
Jul 28, 2025
Merged

fix(bundle): remove post order of node-resolve#6353
johnjenkins merged 2 commits intostenciljs:mainfrom
Fa3ris:fix-rollup-plugin-resolveid-order

Conversation

@Fa3ris
Copy link
Copy Markdown
Contributor

@Fa3ris Fa3ris commented Jul 27, 2025

What is the current behavior?

node-resolve resolveId hook has been moved to the end of the plugin chain, so other plugins that were meant to be called after resolve some modules incorrectly

GitHub Issue Number: #6335

What is the new behavior?

move the node-resolve module back to its original order

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

manually tested against the sample repo https://github.com/Fa3ris/stencil-browser-field-resolution

Other information

node-resolve resolveId hook has been moved to the end of the plugin chain,
so other plugins that were meant to be called after resolve some modules
incorrectly

fixes: stenciljs#6335
@Fa3ris Fa3ris requested a review from a team as a code owner July 27, 2025 11:20
Copy link
Copy Markdown
Contributor

@johnjenkins johnjenkins left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for contributing

@johnjenkins johnjenkins added this pull request to the merge queue Jul 28, 2025
Merged via the queue into stenciljs:main with commit 19b56d1 Jul 28, 2025
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants