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,
|
||||
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<PresetAsset> {
|
|||
},
|
||||
},
|
||||
},
|
||||
"tsconfig.build": {
|
||||
include: ["{buildSource}"],
|
||||
compilerOptions: {
|
||||
outDir: "{source}",
|
||||
},
|
||||
},
|
||||
},
|
||||
scripts: resolve(TEMPLATES, "scripts.yaml"),
|
||||
variable: DEFAULT_VARIABLE,
|
||||
|
|
Loading…
Reference in New Issue