1
Fork 0
This repository has been archived on 2024-12-04. You can view files and clone it, but cannot push or open issues or pull requests.
MinPluto-Frontend/astro.config.mjs

37 lines
729 B
JavaScript
Raw Normal View History

2024-07-24 14:53:15 -05:00
import { defineConfig } from 'astro/config';
import node from '@astrojs/node';
import vue from '@astrojs/vue';
import astroI18next from "astro-i18next";
2024-07-07 19:04:25 -05:00
import mdx from '@astrojs/mdx';
2024-04-14 22:56:13 -05:00
2024-07-24 14:53:15 -05:00
// https://astro.build/config
2024-04-14 22:56:13 -05:00
export default defineConfig({
2024-07-07 19:04:25 -05:00
// Project Structure
2024-04-14 22:56:13 -05:00
publicDir: './src/public/',
2024-07-07 19:04:25 -05:00
// Integrations and Plugins
integrations: [mdx(), vue(), astroI18next()],
// Security
security: {
checkOrigin: true
2024-04-14 22:56:13 -05:00
},
2024-07-07 19:04:25 -05:00
// Server Options
server: {
port: 1930,
host: true
},
// Use Server-Side Rendering
2024-04-14 22:56:13 -05:00
output: 'server',
adapter: node({
2024-07-24 14:53:15 -05:00
mode: 'standalone'
2024-04-14 22:56:13 -05:00
}),
2024-07-24 14:53:15 -05:00
// Vite
vite: {
server: {
hmr: false // Auto Reload
}
},
2024-07-07 19:04:25 -05:00
// Others
2024-07-24 14:53:15 -05:00
devToolbar: {
enabled: false
}
});