mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
e6be2d8146
* Add View Transitions announcer * fix astro check * Append the text in a setTimeout * Use 60 for the timeout * Add comment on magic number * Add a changeset * Update .changeset/small-rules-relax.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Bring back announce logic * Remove mention of env file --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
15 lines
390 B
JavaScript
15 lines
390 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),
|
|
},
|
|
},
|
|
})
|