www/astro.config.mjs
Lâm Tiên Hưng 38ae467118 Revert "feat: add Vietnamese translator"
This reverts commit 2fc70266d8.
2025-06-06 09:59:02 +07:00

30 lines
671 B
JavaScript

import react from '@astrojs/react'
import sitemap from '@astrojs/sitemap'
import tailwind from '@astrojs/tailwind'
import { defineConfig } from 'astro/config'
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), react(), sitemap()],
site: 'https://zen-browser.app',
i18n: {
defaultLocale: 'en',
locales: ['en', 'ja'],
routing: {
fallbackType: 'rewrite',
prefixDefaultLocale: false,
},
},
vite: {
build: {
rollupOptions: {
output: {
manualChunks: {
vendor: ['react', 'react-dom'],
astro: ['astro'],
},
},
},
},
},
})