11module . exports = function ( optimist ) {
22 optimist
3-
4- . boolean ( "help" ) . alias ( "help" , "h" ) . alias ( "help" , "?" ) . describe ( "help" )
5-
6- . string ( "config" ) . describe ( "config" )
7-
8- . string ( "context" ) . describe ( "context" )
9-
10- . string ( "entry" ) . describe ( "entry" )
11-
12- . string ( "module-bind" ) . describe ( "module-bind" )
13-
14- . string ( "module-bind-post" ) . describe ( "module-bind-post" )
15-
16- . string ( "module-bind-pre" ) . describe ( "module-bind-pre" )
17-
18- . string ( "output-path" ) . describe ( "output-path" )
19-
20- . string ( "output-file" ) . describe ( "output-file" )
21-
22- . string ( "output-chunk-file" ) . describe ( "output-chunk-file" )
23-
24- . string ( "output-named-chunk-file" ) . describe ( "output-named-chunk-file" )
25-
26- . string ( "output-source-map-file" ) . describe ( "output-source-map-file" )
27-
28- . string ( "output-public-path" ) . describe ( "output-public-path" )
29-
30- . string ( "output-jsonp-function" ) . describe ( "output-jsonp-function" )
31-
32- . boolean ( "output-pathinfo" ) . describe ( "output-pathinfo" )
33-
34- . string ( "output-library" ) . describe ( "output-library" )
35-
36- . string ( "output-library-target" ) . describe ( "output-library-target" )
37-
38- . string ( "records-input-path" ) . describe ( "records-input-path" )
39-
40- . string ( "records-output-path" ) . describe ( "records-output-path" )
41-
42- . string ( "records-path" ) . describe ( "records-path" )
43-
44- . string ( "define" ) . describe ( "define" )
45-
46- . string ( "target" ) . describe ( "target" )
47-
48- . boolean ( "cache" ) . describe ( "cache" ) . default ( "cache" , true )
49-
50- . boolean ( "watch" ) . alias ( "watch" , "w" ) . describe ( "watch" )
51-
52- . describe ( "watch-aggregate-timeout" )
53-
54- . describe ( "watch-poll" )
55-
56- . boolean ( "hot" ) . alias ( "hot" , "h" ) . describe ( "hot" )
57-
58- . boolean ( "debug" ) . describe ( "debug" )
59-
60- . string ( "devtool" ) . describe ( "devtool" )
61-
62- . boolean ( "progress" ) . describe ( "progress" )
63-
64- . string ( "resolve-alias" ) . describe ( "resolve-alias" )
65-
66- . string ( "resolve-loader-alias" ) . describe ( "resolve-loader-alias" )
67-
68- . describe ( "optimize-max-chunks" )
69-
70- . describe ( "optimize-min-chunk-size" )
71-
72- . boolean ( "optimize-minimize" ) . describe ( "optimize-minimize" )
73-
74- . boolean ( "optimize-occurence-order" ) . describe ( "optimize-occurence-order" )
75-
76- . boolean ( "optimize-dedupe" ) . describe ( "optimize-dedupe" )
77-
78- . string ( "prefetch" ) . describe ( "prefetch" )
79-
80- . string ( "provide" ) . describe ( "provide" )
81-
82- . boolean ( "labeled-modules" ) . describe ( "labeled-modules" )
83-
84- . string ( "plugin" ) . describe ( "plugin" )
85-
86- . boolean ( "bail" ) . describe ( "bail" )
87-
88- . boolean ( "profile" ) . describe ( "profile" )
89-
90- . boolean ( "d" ) . describe ( "d" , "shortcut for --debug --devtool sourcemap --output-pathinfo" )
91-
92- . boolean ( "p" ) . describe ( "p" , "shortcut for --optimize-minimize" ) ;
93- } ;
3+ . boolean ( "help" ) . alias ( "help" , "h" ) . alias ( "help" , "?" ) . describe ( "help" )
4+ . string ( "config" ) . describe ( "config" )
5+ . string ( "context" ) . describe ( "context" )
6+ . string ( "entry" ) . describe ( "entry" )
7+ . string ( "module-bind" ) . describe ( "module-bind" )
8+ . string ( "module-bind-post" ) . describe ( "module-bind-post" )
9+ . string ( "module-bind-pre" ) . describe ( "module-bind-pre" )
10+ . string ( "output-path" ) . describe ( "output-path" )
11+ . string ( "output-file" ) . describe ( "output-file" )
12+ . string ( "output-chunk-file" ) . describe ( "output-chunk-file" )
13+ . string ( "output-named-chunk-file" ) . describe ( "output-named-chunk-file" )
14+ . string ( "output-source-map-file" ) . describe ( "output-source-map-file" )
15+ . string ( "output-public-path" ) . describe ( "output-public-path" )
16+ . string ( "output-jsonp-function" ) . describe ( "output-jsonp-function" )
17+ . boolean ( "output-pathinfo" ) . describe ( "output-pathinfo" )
18+ . string ( "output-library" ) . describe ( "output-library" )
19+ . string ( "output-library-target" ) . describe ( "output-library-target" )
20+ . string ( "records-input-path" ) . describe ( "records-input-path" )
21+ . string ( "records-output-path" ) . describe ( "records-output-path" )
22+ . string ( "records-path" ) . describe ( "records-path" )
23+ . string ( "define" ) . describe ( "define" )
24+ . string ( "target" ) . describe ( "target" )
25+ . boolean ( "cache" ) . describe ( "cache" ) . default ( "cache" , true )
26+ . boolean ( "watch" ) . alias ( "watch" , "w" ) . describe ( "watch" )
27+ . describe ( "watch-aggregate-timeout" )
28+ . describe ( "watch-poll" )
29+ . boolean ( "hot" ) . alias ( "hot" , "h" ) . describe ( "hot" )
30+ . boolean ( "debug" ) . describe ( "debug" )
31+ . string ( "devtool" ) . describe ( "devtool" )
32+ . boolean ( "progress" ) . describe ( "progress" )
33+ . string ( "resolve-alias" ) . describe ( "resolve-alias" )
34+ . string ( "resolve-loader-alias" ) . describe ( "resolve-loader-alias" )
35+ . describe ( "optimize-max-chunks" )
36+ . describe ( "optimize-min-chunk-size" )
37+ . boolean ( "optimize-minimize" ) . describe ( "optimize-minimize" )
38+ . boolean ( "optimize-occurence-order" ) . describe ( "optimize-occurence-order" )
39+ . boolean ( "optimize-dedupe" ) . describe ( "optimize-dedupe" )
40+ . string ( "prefetch" ) . describe ( "prefetch" )
41+ . string ( "provide" ) . describe ( "provide" )
42+ . boolean ( "labeled-modules" ) . describe ( "labeled-modules" )
43+ . string ( "plugin" ) . describe ( "plugin" )
44+ . boolean ( "bail" ) . describe ( "bail" )
45+ . boolean ( "profile" ) . describe ( "profile" )
46+ . boolean ( "d" ) . describe ( "d" , "shortcut for --debug --devtool sourcemap --output-pathinfo" )
47+ . boolean ( "p" ) . describe ( "p" , "shortcut for --optimize-minimize" ) ;
48+ } ;
0 commit comments