// @ts-check import tailwindcss from "@tailwindcss/vite"; import { defineConfig } from "astro/config"; const alias = { "@app": new URL("./src/app", import.meta.url).pathname, "@pageModules": new URL("./src/pageModules", import.meta.url).pathname, "@widgets": new URL("./src/widgets", import.meta.url).pathname, "@features": new URL("./src/features", import.meta.url).pathname, "@entities": new URL("./src/entities", import.meta.url).pathname, "@shared": new URL("./src/shared", import.meta.url).pathname, "@mocks": new URL("./src/__mocks__", import.meta.url).pathname, }; export default defineConfig({ vite: { plugins: [tailwindcss()], resolve: { alias, }, }, server: {}, });