mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-14 13:58:21 +00:00
21 lines
428 B
TypeScript
21 lines
428 B
TypeScript
import { defineNitroConfig } from 'nitropack/config';
|
|
|
|
export default defineNitroConfig({
|
|
compatibilityDate: '2026-02-26',
|
|
preset: 'vercel',
|
|
// srcDir: '.',
|
|
apiDir: 'api',
|
|
// noPublicDir: true,
|
|
srcDir: '.',
|
|
ignore: ['.vitepress/plugins'],
|
|
routeRules: {
|
|
'/api/**': { cors: false },
|
|
},
|
|
esbuild: {
|
|
options: {
|
|
jsxFactory: 'React.createElement',
|
|
jsxFragment: 'React.Fragment',
|
|
},
|
|
},
|
|
});
|