| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
… "preprocess" parameter on build. Fixes "Unexpected token 'type'" when importing an external typescript module (in my case Uppy, https://uppy.io/docs/svelte/)
| Back | FazBrowse Home | New Git URL |
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/)