I've noticed that since we're writing the endpoints INSIDE the svemix folder, relative imports don't resolve correctly. I see three things to solve this problem:
Keep it as is and teach users to use aliases e.g. $lib.
Change the way it works currently by creating .json endpoints in the same directory as the route.
Scan all relative imports and replace them accordingly, probably very error prone.
I've noticed that since we're writing the endpoints INSIDE the svemix folder, relative imports don't resolve correctly. I see three things to solve this problem:
$lib
.