mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 08:55:32 +02:00
30 lines
671 B
JavaScript
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'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|