28 lines
No EOL
611 B
JavaScript
28 lines
No EOL
611 B
JavaScript
import { defineConfig } from 'astro/config'
|
|
import node from '@astrojs/node'
|
|
import vue from '@astrojs/vue'
|
|
import astroI18next from "astro-i18next"
|
|
import mdx from '@astrojs/mdx';
|
|
|
|
export default defineConfig({
|
|
// Project Structure
|
|
publicDir: './src/public/',
|
|
// Integrations and Plugins
|
|
integrations: [mdx(), vue(), astroI18next()],
|
|
// Security
|
|
security: {
|
|
checkOrigin: true
|
|
},
|
|
// Server Options
|
|
server: {
|
|
port: 1930,
|
|
host: true
|
|
},
|
|
// Use Server-Side Rendering
|
|
output: 'server',
|
|
adapter: node({
|
|
mode: 'standalone',
|
|
}),
|
|
// Others
|
|
devToolbar: {enabled: false},
|
|
}) |