[READ-ONLY] Mirror of https://github.com/flo-bit/flo-bit.github.io. my personal website, w/ astro, svelte, tailwind, typescript, threlte
flo-bit.dev/
portfolio
portfolio-website
svelte
sveltekit
tailwind
threejs
threlte
typescript
711 B
30 lines
1// @ts-check
2import { defineConfig } from 'astro/config';
3import { resolve } from "path";
4
5import tailwind from '@astrojs/tailwind';
6import mdx from '@astrojs/mdx';
7import svelte from '@astrojs/svelte';
8import { BASE, SITE } from './src/config';
9
10// https://astro.build/config
11export default defineConfig({
12 integrations: [tailwind(), mdx(), svelte()],
13 vite: {
14 resolve: {
15 alias: {
16 $components: resolve("./src/components"),
17 $layouts: resolve("./src/layouts"),
18 $pages: resolve("./src/pages"),
19 $assets: resolve("./src/assets"),
20 $content: resolve("./src/content"),
21 },
22 },
23 ssr: {
24 noExternal: ["gsap"],
25 }
26 },
27
28 site: SITE,
29 base: BASE
30});