fix: tsconfig generator (#145)

This commit is contained in:
Glitch
2025-01-22 09:30:50 -08:00
committed by GitHub
parent 90fae47ff4
commit 23d70c6e03

View File

@@ -41,7 +41,7 @@ const writeTsConfig = async (format: 'cjs' | 'esm', configPath: string, fw: File
compilerOptions: {
//module determines top level await. CJS doesn't have that abliity afaik
module: format === 'cjs' ? 'node' : 'esnext',
moduleResolution: 'node16',
moduleResolution: 'node',
strict: true,
skipLibCheck: true,
target: 'esnext',