Ephem / rollup-plugin-preserve-directives

A Rollup plugin to preserve directives like "use client" when preserveModules is true
MIT License
67 stars 8 forks source link

feat: Update to Rollup v4 #19

Closed lachlancollins closed 9 months ago

lachlancollins commented 9 months ago

Fixes plugin type incompatibility warnings when using with Rollup v4 or Vite v5

Changes

Ephem commented 9 months ago

Thank you so much for this! ❤️ Looks good to me, I did some light testing and seems to work well. I'll release this as 0.3.0 later tonight.