Skip to content

Commit 158acce

Browse files
Update packages/core/src/config.ts
Co-authored-by: Timeless0911 <[email protected]>
1 parent ea38be4 commit 158acce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ const composeFormatConfig = ({
524524
case 'umd': {
525525
if (bundle === false) {
526526
throw new Error(
527-
'When "format" is set to "umd", "bundle" must not be set to "false", consider setting "bundle" to "true" or remove the field, it\'s default value is "true".',
527+
'When using "umd" format, "bundle" must be set to "true". Since the default value for "bundle" is "true", so you can either explicitly set it to "true" or remove the field entirely.',
528528
);
529529
}
530530

0 commit comments

Comments
 (0)