From f3920365cc975fda24a481b005a00f3f737651ed Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 30 Jun 2023 04:35:37 -0400 Subject: [PATCH] fix: outDir should not be an array and needs to be under compilerOptions --- source/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/index.ts b/source/index.ts index e4085d0..1ca64a1 100644 --- a/source/index.ts +++ b/source/index.ts @@ -77,7 +77,9 @@ export default function (): PresetAsset { 'rollup': resolve(CONFIGS, 'rollup.yaml'), 'tsconfig.build': { include: ['{buildSource}'], - outDir: ['{source}'], + compilerOptions: { + outDir: '{source}', + }, }, }, variable: DEFAULT_VARIABLE,