2026-03-06 23:03:45 +03:00
|
|
|
import path from "node:path";
|
|
|
|
|
import { sveltekit } from "@sveltejs/kit/vite";
|
|
|
|
|
import { defineConfig } from "vite";
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
plugins: [sveltekit()],
|
|
|
|
|
resolve: {
|
|
|
|
|
alias: {
|
2026-03-07 10:55:57 +03:00
|
|
|
$lib: path.resolve("./src/shared/lib"),
|
2026-03-07 13:35:26 +03:00
|
|
|
$shared: path.resolve("./src/shared"),
|
|
|
|
|
$pages: path.resolve("./src/pages"),
|
|
|
|
|
$features: path.resolve("./src/features"),
|
|
|
|
|
$entities: path.resolve("./src/entities"),
|
|
|
|
|
$widgets: path.resolve("./src/widgets"),
|
|
|
|
|
"$/*": "./src/*",
|
2026-03-06 23:03:45 +03:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|