Getting errors when trying to use rollup-plugin-svelte-svg with Sapper.
<Logo> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules
The solution is to pass generate: 'ssr' to Svelte.compile.
Getting errors when trying to use rollup-plugin-svelte-svg with Sapper.
<Logo> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules
The solution is to pass generate: 'ssr' to Svelte.compile.