From 23d70c6e03860d1a69e3bffedd6910aba82071ab Mon Sep 17 00:00:00 2001 From: Glitch Date: Wed, 22 Jan 2025 09:30:50 -0800 Subject: [PATCH] fix: tsconfig generator (#145) --- src/utilities/preprocessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/preprocessor.ts b/src/utilities/preprocessor.ts index b91360b..e81d681 100644 --- a/src/utilities/preprocessor.ts +++ b/src/utilities/preprocessor.ts @@ -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',