Files
frontend-svelte/vite.config.ts
T
Ilia Mashkov 1c6427c586 chore: drop vestigial $lib alias
$lib pointed at src/lib/, which does not exist, and nothing imported it.
Removed the dead alias from all five declaration sites (tsconfig plus the
vite and three vitest configs). A stray $lib import now fails fast as an
unknown alias instead of resolving to a missing path.
2026-06-02 23:17:27 +03:00

21 lines
526 B
TypeScript

import { svelte } from '@sveltejs/vite-plugin-svelte';
import tailwindcss from '@tailwindcss/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [svelte(), tailwindcss()],
resolve: {
alias: {
$app: '/src/app',
$shared: '/src/shared',
$entities: '/src/entities',
$features: '/src/features',
$routes: '/src/routes',
$widgets: '/src/widgets',
},
},
build: {
outDir: 'dist',
},
});