Eric Burel @ericburel.tech ยท Feb 22

Checking how the development instance works... bad surprise, my import alias didn't actually work ๐Ÿ˜‚ I don't get what's wrong, need to read more docs... In the past in Next we also had to tweak the compiler in addition to the tsconfig, maybe it's similar here? docs.astro.build/en/guides/al...

0 likes 1 replies

?

Replies

Eric Burel ยท Feb 22

Hopefully I started with the best debugging trick ever: restarted the server Pretty sure Vite or Astro doesn't catch up with the up-to-date tsconfig, which is probably only read during app startup, so even if TS resolves the path, the dev server can't before I restart