Files
dealplustech/astro.config.mjs
2026-03-13 09:18:52 +07:00

35 lines
678 B
JavaScript

import { defineConfig } from 'astro/config';
import tailwind from '@astrojs/tailwind';
import sitemap from '@astrojs/sitemap';
export default defineConfig({
site: 'https://dealplustech.co.th',
integrations: [
tailwind({
applyBaseStyles: true,
}),
sitemap(),
],
i18n: {
defaultLocale: 'th',
locales: ['th'],
routing: {
prefixDefaultLocale: false,
redirectToDefaultLocale: false,
},
},
compressHTML: true,
build: {
inlineStylesheets: 'auto',
},
vite: {
build: {
cssMinify: true,
},
server: {
host: true,
allowedHosts: ['.easypanel.host', '.extyye.easypanel.host'],
},
},
});