22 lines
513 B
JavaScript
22 lines
513 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
import node from '@astrojs/node';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
server: {
|
|
// Lets us test host-based behavior (hhonig.de vs. place4bees.com) locally
|
|
// by sending a custom Host header against the dev server.
|
|
allowedHosts: ['hhonig.de', 'place4bees.com']
|
|
}
|
|
},
|
|
|
|
adapter: node({
|
|
mode: 'standalone'
|
|
})
|
|
}); |