mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
15 lines
381 B
JavaScript
15 lines
381 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import tailwind from '@astrojs/tailwind';
|
|
import nodejs from '@astrojs/node';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
integrations: [tailwind()],
|
|
output: 'server',
|
|
adapter: nodejs({ mode: 'standalone' }),
|
|
vite: {
|
|
define: {
|
|
'process.env.TMDB_API_KEY': JSON.stringify(process.env.TMDB_API_KEY),
|
|
},
|
|
},
|
|
});
|