mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
37 lines
874 B
JavaScript
37 lines
874 B
JavaScript
import { defineConfig } from 'astro/config'
|
|
import tailwind from '@astrojs/tailwind'
|
|
import node from '@astrojs/node'
|
|
import paraglide from '@inlang/paraglide-astro'
|
|
import auth from 'auth-astro'
|
|
import { languageTags } from './project.inlang/settings.json'
|
|
|
|
import icon from 'astro-icon'
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
i18n: {
|
|
locales: languageTags,
|
|
defaultLocale: 'en',
|
|
routing: {
|
|
prefixDefaultLocale: false,
|
|
redirectToDefaultLocale: true
|
|
}
|
|
},
|
|
integrations: [
|
|
tailwind(),
|
|
auth(),
|
|
paraglide({
|
|
// recommended settings
|
|
project: './project.inlang',
|
|
outdir: './src/paraglide' //where your files should be
|
|
}),
|
|
icon({ iconDir: 'src/img/icons' })
|
|
],
|
|
output: 'server',
|
|
adapter: node({
|
|
mode: 'standalone'
|
|
}),
|
|
image: {
|
|
domains: ['cdn.sittingonclouds.net']
|
|
}
|
|
})
|