fix: override tsconfig.build
This commit is contained in:
parent
f912db22c3
commit
28833448f2
10
src/index.ts
10
src/index.ts
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue