sveltejs/rollup-plugin-svelte

Per-component compiler options

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
I want to be able to set whether to server-side render on a per-component basis because if my main component includes something that should be client side rendered, but the rest can be server-rendered, that's impossible with this plugin.

Describe the solution you'd like
I'd like to be able to optionally set compiler options for each component that is imported.

Describe alternatives you've considered

Additional context
codeberg.org/reesericci/actionview-svelte-handler/issues/10

Note

This issue is identical to EMH333/esbuild-svelte#244, but I moved to rollup & this plugin