Skip to content

Commit 5cddfd9

Browse files
authored
fix(compiler): no generate custom output (#5951)
Do not generate custom output target on test fixes: #5950
1 parent 9c09faa commit 5cddfd9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/compiler/output-targets/output-custom.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import type * as d from '../../declarations';
44
import { generateDocData } from '../docs/generate-doc-data';
55

66
export const outputCustom = async (config: d.ValidatedConfig, compilerCtx: d.CompilerCtx, buildCtx: d.BuildCtx) => {
7+
if (config._isTesting) {
8+
return;
9+
}
10+
711
const task = config.watch ? 'always' : 'onBuildOnly';
812
const customOutputTargets = config.outputTargets
913
.filter(isOutputTargetCustom)

0 commit comments

Comments
 (0)