Closed
Description
- Rollup Plugin Name: @rollup/plugin-node-resolve
- Rollup Plugin Version: 15.3.0
- Rollup Version: 3.29.5
- Operating System (or Browser): Windows
- Node Version: 18.20.3
- Link to reproduction: https://stackblitz.com/edit/rollup-repro-crsvcu?file=rollup.config.ts&view=editor
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'.
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
Metadata
Metadata
Assignees
Labels
No labels