roonie007/vite-plugin-svelte-kebab-props

Custom elements support

Opened this issue · 1 comments

I would love to use this plugin, but in my project we generate custom elements with Svelte and it looks like, it doesn't work with that option.

Do you think the plugin could be enhanced so it works with custom elements, too?

I attach a reduced test case: A mini app created with npm init vite and the <MyImage>-component from your Readme. Both ZIPs contain the same app, only difference is custom element support in one.

reduced test case with custom elements (does not work).zip
reduced test case with svelte component (works).zip

@PhilippSoehnlein sorry for my late answer, can you open a PR ?