Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
moose96 opened this issue Dec 3, 2024 · 0 comments

Comments

@moose96
Copy link

moose96 commented Dec 3, 2024

Expected Behavior

While using rollup config in typescript, I would expect a config object of @rollup/plugin-node-resolve to be properly typed and to include ignoreSideEffectsForRoot property, as it's documented: https://github.com/rollup/plugins/tree/master/packages/node-resolve#ignoresideeffectsforroot

Actual Behavior

Trying to use ignoreSideEffectsForRoot throws a typescript error:

Object literal may only specify known properties, and 'ignoreSideEffectsForRoot' does not exist in type 'RollupNodeResolveOptions'.

image

Additional Information

You don't actually need to reproduce the issue; it's enough to look inside the types file - RollupNodeResolveOptions interface doesn't have ignoreSideEffectsForRoot property

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant