Skip to content

fix(node-resolve): add ignoreSideEffectsForRoot to exported interface#1841

Merged
shellscape merged 2 commits into
rollup:masterfrom
younggglcy:fix/1824
Mar 11, 2025
Merged

fix(node-resolve): add ignoreSideEffectsForRoot to exported interface#1841
shellscape merged 2 commits into
rollup:masterfrom
younggglcy:fix/1824

Conversation

@younggglcy

@younggglcy younggglcy commented Feb 1, 2025

Copy link
Copy Markdown
Contributor

Rollup Plugin Name: @rollup/plugin-node-resolve

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

fix #1824

Description

This PR supplies definitions of ignoreSideEffectsForRoot to the exported interface RollupNodeResolveOptions

@shellscape shellscape left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for the PR. Please add an appropriate test of this change to packages/node-resolve/test/types.ts

@younggglcy

Copy link
Copy Markdown
Contributor Author

Thanks for the PR. Please add an appropriate test of this change to packages/node-resolve/test/types.ts

done

@shellscape shellscape merged commit d455fff into rollup:master Mar 11, 2025
@younggglcy younggglcy deleted the fix/1824 branch March 12, 2025 01:00
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.

[@rollup/plugin-node-resolve] RollupNodeResolveOptions interface doesn't include ignoreSideEffectsForRoot

2 participants