From 28833448f29e7cbde5cbea3e241ff669134530a8 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 8 Jul 2023 03:01:30 -0400 Subject: [PATCH] fix: override tsconfig.build --- src/index.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 28c37f8..4893a3e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -68,12 +68,12 @@ export default async function (context: PresetContext): Promise { }, supplementaryIgnores: ignores, supplementaryConfig: { - release: { + "release": { plugins: { "3": ["@semantic-release/npm", { npmPublish: false }], }, }, - vite: { + "vite": { build: { outDir: "{output}", lib: { @@ -96,6 +96,12 @@ export default async function (context: PresetContext): Promise { }, }, }, + "tsconfig.build": { + include: ["{buildSource}"], + compilerOptions: { + outDir: "{source}", + }, + }, }, scripts: resolve(TEMPLATES, "scripts.yaml"), variable: DEFAULT_VARIABLE,