Skip to content

Commit b84e595

Browse files
authored
Add options to CLI args list
1 parent fb715a9 commit b84e595

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/prog.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ export default handler => {
4444
.option('--compress', 'Compress output using Terser', null)
4545
.option('--strict', 'Enforce undefined global context and add "use strict"')
4646
.option('--name', 'Specify name exposed in UMD builds')
47+
.option('--amd-name', '[amd] use named define("name", ...)')
48+
.option('--amd-define', '[amd] function to use in place of define()')
4749
.option('--cwd', 'Use an alternative working directory', '.')
4850
.option('--sourcemap', 'Generate source map', true)
4951
.option(

0 commit comments

Comments
 (0)