Files
dealplustech/astro.config.mjs
Kunthawat 3f6e77d622 fix: Remove SSR adapter - use static build only
- Removed @astrojs/node import (causes build failure)
- Changed output: 'server' → 'static'
- Works with Docker build (no dependency conflicts)
- All pages still render correctly
- Consent works with localStorage (API routes not supported)
2026-03-12 14:10:36 +07:00

23 lines
393 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
// https://astro.build/config
export default defineConfig({
output: 'static',
build: {
inlineStylesheets: 'always',
},
vite: {
plugins: [tailwindcss()],
preview: {
host: true,
port: 80,
},
server: {
host: true,
port: 80,
},
},
});