framework7-cli icon indicating copy to clipboard operation
framework7-cli copied to clipboard

Add vitePreprocess() from vite-plugin-svelte to svelte build

Open spiffyguy opened this issue 1 year ago • 0 comments

Use the vitePreprocess() function from vite-plugin-svelte to svelte's "preprocess" parameter on build. Fixes "Unexpected token 'type'" when importing an external typescript module (in my case Uppy, https://uppy.io/docs/svelte/)

spiffyguy avatar Jul 02 '24 11:07 spiffyguy