Deal Plus Tech Astro Migration

This commit is contained in:
Kunthawat Greethong
2026-03-13 06:41:39 +07:00
commit 318a96ad56
64 changed files with 4792 additions and 0 deletions

30
astro.config.mjs Normal file
View File

@@ -0,0 +1,30 @@
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,
},
},
});