Skip to content

Commit a7b0a92

Browse files
committed
fix: merge chunking option
1 parent d710174 commit a7b0a92

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/commandkit/src/cli/build.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ export async function buildApplication({
139139
...(config.entrypoints ?? []),
140140
]),
141141
),
142-
unbundle: !!isDev,
142+
unbundle: isDev
143+
? true
144+
: (config.compilerOptions?.disableChunking ?? false),
143145
} satisfies Options,
144146
config.compilerOptions?.tsdown,
145147
),

0 commit comments

Comments
 (0)