From d31720ce140c7e2dafc4be4c673d38a2a2ba51be Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 2 Jul 2023 00:46:20 -0400 Subject: [PATCH] fix: need to split ts moduleResolution to the tsconfig file --- source/index.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/index.ts b/source/index.ts index e5e0ce9..a53f316 100644 --- a/source/index.ts +++ b/source/index.ts @@ -76,13 +76,15 @@ export default function (): PresetAsset { supplementaryConfig: { 'gitignore': ['/rollup.config.ts'], 'rollup': resolve(CONFIGS, 'rollup.yaml'), + 'tsconfig': { + compilerOptions: { + moduleResolution: 'nodenext', + }, + }, 'tsconfig.build': { include: ['{buildSource}'], compilerOptions: { outDir: '{source}', - compilerOptions: { - moduleResolution: 'nodenext', - }, }, }, },