Files
lucide/docs/nitro.config.ts
T

21 lines
552 B
TypeScript
Raw Permalink Normal View History

2023-06-04 16:59:38 +02:00
export default defineNitroConfig({
compatibilityDate: '2026-02-26',
preset: 'vercel',
vercel: {
// Sets the `__vdpl` cookie on page loads, so Vercel serves later asset and page chunk
// requests from the same deployment. Needs Skew Protection enabled in the Vercel project.
skewProtection: true,
},
2023-06-04 16:59:38 +02:00
srcDir: '.vitepress',
2026-03-20 17:04:28 +01:00
ignore: ['.vitepress/plugins'],
2023-06-04 16:59:38 +02:00
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
});