Files
blog-frontend/astro.config.mjs
Nikita Pozdniakov 7d3d87b1e5
Some checks failed
CI TEST (Vault secrets) / build (push) Failing after 9s
add Button component and Storybook configuration
2026-05-04 11:38:50 +03:00

24 lines
697 B
JavaScript

// @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: {},
});