Skip to content

fix: align the Plugin type with rollup (fix #21715)#21722

Open
jendrikw wants to merge 1 commit intovitejs:mainfrom
jendrikw:21715-fix-types
Open

fix: align the Plugin type with rollup (fix #21715)#21722
jendrikw wants to merge 1 commit intovitejs:mainfrom
jendrikw:21715-fix-types

Conversation

@jendrikw
Copy link
Copy Markdown

I couldn't find an easy way to test this change without also enabling strictOptionalPropertyTypes for the whole project.

@jendrikw
Copy link
Copy Markdown
Author

jendrikw commented Feb 27, 2026

Seems like the switch to rolldown introduces another wall of errors. Is there a way to get this merges and released for version 7?

@bluwy
Copy link
Copy Markdown
Member

bluwy commented Mar 3, 2026

Yeah I think we can accept a backport on the v7 branch for this type fix

@jendrikw
Copy link
Copy Markdown
Author

jendrikw commented Mar 3, 2026

I won't be able to work on this until next monday, but these changes on version 7.3.1 worked for me: https://gitlab1.ptb.de/digitaldynamicmeasurement/dccviewer-js/-/blob/bf40abdcfb3e253e92c2366bcfcd125d35ace1eb/patches/vite+7.3.1.patch

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.

2 participants