Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/core/src/cli/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ export const applyCliOptions = (
if (options.dts !== undefined) lib.dts = options.dts;
if (options.autoExtension !== undefined)
lib.autoExtension = options.autoExtension;
if (options.autoExternal !== undefined)
lib.autoExternal = options.autoExternal;
lib.output ??= {};
if (options.autoExternal !== undefined)
lib.output.autoExternal = options.autoExternal;
if (options.target !== undefined)
lib.output.target = options.target as RsbuildConfigOutputTarget;
if (options.minify !== undefined) lib.output.minify = options.minify;
Expand Down
Loading
Loading