Closed shayded-exe closed 1 year ago
Hey! Thank you for bringing that to my attention and directly pointing me at the right direction on Vite's documentation, appreciated! I've already released a patch addressing this issue, and since then released a minor version. Would you mind upgrading to 0.1.0 and let me know if it fixes the issue on your side? Thank you!
When I run this in build mode, it still removes the exports from the index files.
This of course causes rollup error complaining about missing exports.
The plugin should only apply itself during dev like this: https://vitejs.dev/guide/using-plugins.html#conditional-application