Files
lucide/docs/nitro.config.ts
T

19 lines
373 B
TypeScript

import { defineNitroConfig } from 'nitropack/config';
export default defineNitroConfig({
compatibilityDate: '2026-02-26',
preset: 'vercel',
srcDir: '.',
apiDir: 'api',
noPublicDir: true,
routeRules: {
'/api/**': { cors: false },
},
esbuild: {
options: {
jsxFactory: 'React.createElement',
jsxFragment: 'React.Fragment',
},
},
});