79711165

Date: 2025-07-23 00:10:41
Score: 0.5
Natty:
Report link

In the current version (v2), they have changed it so that you don't need kit.vite.resolve.alias and instead you use kit.alias:


/** @type {import('@sveltejs/kit').Config} */
const config = {
  kit: {
    alias: {
      $routes: path.resolve('./src/routes'),
    }
  },
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: randomuser5767124