All checks were successful
Build Docker Image / run (push) Successful in 24s
Reviewed-on: #7 Co-authored-by: Clement <c.boesmier@aptatio.com> Co-committed-by: Clement <c.boesmier@aptatio.com>
30 lines
634 B
JavaScript
30 lines
634 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import node from '@astrojs/node';
|
|
import tailwind from "@astrojs/tailwind";
|
|
|
|
import react from "@astrojs/react";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
// integrations: [tailwind(), test, routing(), version(), buildInfos()],
|
|
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']
|
|
}
|
|
}
|
|
}); |