mirror of
https://github.com/supabase/supabase.git
synced 2026-05-25 05:03:29 +08:00
Scripts currently use CJS, which is causing a bit of a mess when trying to use shared utilities from the app. Converting everything to ESM so there are fewer conflicts when adding new scripts going forward.
18 lines
495 B
JSON
18 lines
495 B
JSON
// generator files need their own tsconfig.json because they don't like "module": "esnext" setting that nextjs requires in the main tsconfig
|
|
{
|
|
"compilerOptions": {
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"incremental": true,
|
|
"noImplicitAny": false,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"~/*": ["./*"]
|
|
}
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
|
"exclude": ["node_modules"]
|
|
}
|