When migrating from a Kit 2 app that has $lib imports you'll get
During development:
Internal server error: Cannot find module '$lib/images/github.svg' imported from ...
During build:
error during build:
Build failed with 1 error:
Error: [vite]: Rolldown failed to resolve import "$lib/images/svelte-welcome.png" from ...
We can probably make it more obvious about what to do here (unless it's too much trouble) by linking or instructing the user on how to move to #lib instead
When migrating from a Kit 2 app that has
$libimports you'll getDuring development:
During build:
We can probably make it more obvious about what to do here (unless it's too much trouble) by linking or instructing the user on how to move to
#libinstead