2023-06-04 16:59:38 +02:00
|
|
|
export default defineNitroConfig({
|
2026-03-05 14:03:27 +01:00
|
|
|
compatibilityDate: '2026-02-26',
|
|
|
|
|
preset: 'vercel',
|
2023-06-04 16:59:38 +02:00
|
|
|
srcDir: '.vitepress',
|
|
|
|
|
routeRules: {
|
|
|
|
|
'/api/**': { cors: false },
|
|
|
|
|
},
|
|
|
|
|
esbuild: {
|
|
|
|
|
options: {
|
2023-08-24 11:37:07 +02:00
|
|
|
jsxFactory: 'React.createElement',
|
|
|
|
|
jsxFragment: 'React.Fragment',
|
2023-06-04 16:59:38 +02:00
|
|
|
},
|
|
|
|
|
},
|
2023-08-24 11:37:07 +02:00
|
|
|
});
|