framework7-cli
framework7-cli copied to clipboard
Add vitePreprocess() from vite-plugin-svelte to svelte build
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/)