fix: override tsconfig.build

This commit is contained in:
Derrick Hammer 2023-07-08 03:01:30 -04:00
parent f912db22c3
commit 28833448f2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 8 additions and 2 deletions

View File

@ -68,12 +68,12 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
}, },
supplementaryIgnores: ignores, supplementaryIgnores: ignores,
supplementaryConfig: { supplementaryConfig: {
release: { "release": {
plugins: { plugins: {
"3": ["@semantic-release/npm", { npmPublish: false }], "3": ["@semantic-release/npm", { npmPublish: false }],
}, },
}, },
vite: { "vite": {
build: { build: {
outDir: "{output}", outDir: "{output}",
lib: { lib: {
@ -96,6 +96,12 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
}, },
}, },
}, },
"tsconfig.build": {
include: ["{buildSource}"],
compilerOptions: {
outDir: "{source}",
},
},
}, },
scripts: resolve(TEMPLATES, "scripts.yaml"), scripts: resolve(TEMPLATES, "scripts.yaml"),
variable: DEFAULT_VARIABLE, variable: DEFAULT_VARIABLE,