Skip to content

Commit

Permalink
Fix(Pack): Missed the isDefault option
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Jun 7, 2023
1 parent 3d69462 commit 4a1e06a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pack/src/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const externalDependencies = []
dependencies && externalDependencies.push(...Object.keys(dependencies))
peerDependencies && externalDependencies.push(...Object.keys(peerDependencies))

program.command('pack [entryPaths...]')
program.command('pack [entryPaths...]', { isDefault: true })
.option('-f, --format [formats...]', 'The output format for the generated JavaScript files `iife`, `cjs`, `esm`', ['cjs', 'esm'])
.option('-t, --shakable-format [formats...]', 'Tree-shakable module\'s formats', ['cjs', 'esm'])
.option('--shakable', 'Enable outputting tree-shakable modules', false)
Expand Down

0 comments on commit 4a1e06a

Please sign in to comment.