2024-04-25 19:52:01 +02:00
|
|
|
import node from '@astrojs/node'
|
|
|
|
import tailwind from '@astrojs/tailwind'
|
|
|
|
import { defineConfig } from 'astro/config'
|
2024-04-25 10:40:39 +02:00
|
|
|
|
2024-04-25 19:52:01 +02:00
|
|
|
import react from '@astrojs/react'
|
2024-04-20 10:48:50 +02:00
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
export default defineConfig({
|
2024-04-25 19:52:01 +02:00
|
|
|
compressHTML: true,
|
|
|
|
build: {
|
|
|
|
assets: 'assets',
|
|
|
|
inlineStylesheets: 'auto'
|
|
|
|
},
|
|
|
|
server: {
|
|
|
|
host: true,
|
|
|
|
port: 3000
|
|
|
|
},
|
|
|
|
trailingSlash: 'never',
|
|
|
|
output: 'server',
|
|
|
|
adapter: node({
|
|
|
|
mode: 'standalone'
|
|
|
|
}),
|
|
|
|
integrations: [tailwind(), react()],
|
|
|
|
vite: {
|
|
|
|
optimizeDeps: {
|
|
|
|
include: ['leaflet']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|