frzn.dev/astro.config.ts
NotAShelf f25cfa3e7e
port to Astro
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6e1c163a147b14b92a5f6ae4de6a87206a6a6964
2026-04-08 22:01:09 +03:00

34 lines
661 B
TypeScript

import { defineConfig, fontProviders } from 'astro/config';
import node from '@astrojs/node';
import icon from 'astro-icon';
export default defineConfig({
output: 'server',
adapter: node({
mode: 'standalone',
}),
server: {
host: true,
},
integrations: [icon()],
fonts: [
{
name: 'Fira Code',
cssVariable: '--font-fira-code',
provider: fontProviders.local(),
options: {
variants: [
{
src: ['./src/assets/fonts/FiraCode-Regular.woff2'],
weight: 'normal',
style: 'normal',
},
],
fallbacks: ['monospace'],
},
},
],
});