Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add options to CLI args list
  • Loading branch information
developit authored Jun 19, 2020
commit b84e5956a6887afa32ffefd5180051b14460e7fa
2 changes: 2 additions & 0 deletions src/prog.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export default handler => {
.option('--compress', 'Compress output using Terser', null)
.option('--strict', 'Enforce undefined global context and add "use strict"')
.option('--name', 'Specify name exposed in UMD builds')
.option('--amd-name', '[amd] use named define("name", ...)')
.option('--amd-define', '[amd] function to use in place of define()')
.option('--cwd', 'Use an alternative working directory', '.')
.option('--sourcemap', 'Generate source map', true)
.option(
Expand Down