Skip to content

Commit 9a1e8a7

Browse files
Update packages/core/src/config.ts
Co-authored-by: Wei <[email protected]>
1 parent 1c2685d commit 9a1e8a7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/core/src/config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,7 @@ const getAutoExternalDefaultValue = (
239239
format: Format,
240240
autoExternal?: AutoExternal,
241241
): AutoExternal => {
242-
return isIntermediateOutputFormat(format)
243-
? (autoExternal ?? true)
244-
: (autoExternal ?? false);
242+
return autoExternal ?? isIntermediateOutputFormat(format);
245243
};
246244

247245
export const composeAutoExternalConfig = (options: {

0 commit comments

Comments
 (0)