2024-09-14 12:18:30 -05:00
|
|
|
// @ts-check
|
2024-09-14 13:24:24 -05:00
|
|
|
|
|
|
|
|
import react from '@astrojs/react';
|
2024-10-09 22:04:43 -05:00
|
|
|
import vercel from '@astrojs/vercel/serverless';
|
2024-09-14 13:24:24 -05:00
|
|
|
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
|
2024-09-14 12:18:30 -05:00
|
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
|
|
2024-09-14 13:24:24 -05:00
|
|
|
export default defineConfig({
|
2024-10-09 22:04:43 -05:00
|
|
|
devToolbar: { enabled: false },
|
|
|
|
|
output: 'hybrid',
|
|
|
|
|
adapter: vercel(),
|
|
|
|
|
|
2024-10-07 18:58:39 -05:00
|
|
|
integrations: [react()],
|
2024-10-07 19:13:30 -05:00
|
|
|
vite: {
|
|
|
|
|
plugins: [vanillaExtractPlugin()],
|
|
|
|
|
resolve: {
|
|
|
|
|
alias: {
|
|
|
|
|
'.prisma/client/index-browser':
|
|
|
|
|
'../../node_modules/.prisma/client/index-browser.js',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-09-14 13:24:24 -05:00
|
|
|
});
|