/
help.test.js.snap.webpack5
2560 lines (2404 loc) · 303 KB
/
help.test.js.snap.webpack5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`help should log error for invalid command using command syntax #3 1`] = `
"[webpack-cli] Incorrect use of help
[webpack-cli] Please use: 'webpack help [command] [option]' | 'webpack [command] --help'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should log error for invalid command using command syntax #4 1`] = `
"[webpack-cli] Incorrect use of help
[webpack-cli] Please use: 'webpack help [command] [option]' | 'webpack [command] --help'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should log error for invalid command using the "--help" option #2 1`] = `
"[webpack-cli] Incorrect use of help
[webpack-cli] Please use: 'webpack help [command] [option]' | 'webpack [command] --help'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should log error for invalid command using the "--help" option #3 1`] = `
"[webpack-cli] Incorrect use of help
[webpack-cli] Please use: 'webpack help [command] [option]' | 'webpack [command] --help'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should log error for invalid command using the "--help" option 1`] = `"[webpack-cli] Unknown value for '--help' option, please use '--help=verbose'"`;
exports[`help should log error for invalid flag with the "--help" option #2 1`] = `"[webpack-cli] Unknown value for '--help' option, please use '--help=verbose'"`;
exports[`help should log error for invalid flag with the "--help" option #2 2`] = `"[webpack-cli] Unknown value for '--help' option, please use '--help=verbose'"`;
exports[`help should log error for invalid flag with the "--help" option 1`] = `
"[webpack-cli] Incorrect use of help
[webpack-cli] Please use: 'webpack help [command] [option]' | 'webpack [command] --help'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should log error for unknown command using command syntax #2 1`] = `
"[webpack-cli] Can't find and load command 'verbose'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should log error for unknown command using command syntax 1`] = `
"[webpack-cli] Can't find and load command 'myCommand'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should log error for unknown option using command syntax #2 1`] = `
"[webpack-cli] Unknown option '--made'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should log error for unknown option using command syntax #3 1`] = `
"[webpack-cli] Unknown option '--made'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should log error for unknown option using command syntax #4 1`] = `
"[webpack-cli] Can't find and load command 'bui'
[webpack-cli] Run 'webpack --help' to see available commands and options"
`;
exports[`help should show help information and respect the "--color" flag using the "--help" option 1`] = `
"Usage: webpack [entries...] [options]
Alternative usage to run commands: webpack [command] [options]
The build tool for modern web applications.
Options:
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
--config-name <value...> Name of the configuration to use.
-m, --merge Merge two or more configurations using 'webpack-merge'.
--env <value...> Environment passed to the configuration when it is a function.
--node-env <value> Sets process.env.NODE_ENV to the specified value.
--progress [value] Print compilation progress during build.
-j, --json [value] Prints result as JSON or store it in a file.
-d, --devtool <value> Determine source maps to use.
--no-devtool Do not generate source maps.
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
--mode <value> Defines the mode to pass to webpack.
--name <value> Name of the configuration. Used when loading multiple configurations.
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
--stats [value] It instructs webpack on how to treat the stats e.g. verbose.
--no-stats Disable stats output.
-t, --target <value...> Sets the build target e.g. node.
--no-target Negative 'target' option.
-w, --watch Watch for files changes.
--no-watch Do not watch for file changes.
--watch-options-stdin Stop watching when stdin stream has ended.
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
Commands:
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
configtest|t [config-path] Validate a webpack configuration.
help|h [command] [option] Display help for commands and options.
info|i [options] Outputs information about your system.
init|create|new|c|n [generation-path] [options] Initialize a new webpack project.
loader|l [output-path] [options] Scaffold a loader.
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
plugin|p [output-path] [options] Scaffold a plugin.
serve|server|s [entries...] [options] Run the webpack dev server.
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
watch|w [entries...] [options] Run webpack and watch for files changes.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information and respect the "--no-color" flag using the "--help" option 1`] = `
"Usage: webpack [entries...] [options]
Alternative usage to run commands: webpack [command] [options]
The build tool for modern web applications.
Options:
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
--config-name <value...> Name of the configuration to use.
-m, --merge Merge two or more configurations using 'webpack-merge'.
--env <value...> Environment passed to the configuration when it is a function.
--node-env <value> Sets process.env.NODE_ENV to the specified value.
--progress [value] Print compilation progress during build.
-j, --json [value] Prints result as JSON or store it in a file.
-d, --devtool <value> Determine source maps to use.
--no-devtool Do not generate source maps.
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
--mode <value> Defines the mode to pass to webpack.
--name <value> Name of the configuration. Used when loading multiple configurations.
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
--stats [value] It instructs webpack on how to treat the stats e.g. verbose.
--no-stats Disable stats output.
-t, --target <value...> Sets the build target e.g. node.
--no-target Negative 'target' option.
-w, --watch Watch for files changes.
--no-watch Do not watch for file changes.
--watch-options-stdin Stop watching when stdin stream has ended.
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
Commands:
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
configtest|t [config-path] Validate a webpack configuration.
help|h [command] [option] Display help for commands and options.
info|i [options] Outputs information about your system.
init|create|new|c|n [generation-path] [options] Initialize a new webpack project.
loader|l [output-path] [options] Scaffold a loader.
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
plugin|p [output-path] [options] Scaffold a plugin.
serve|server|s [entries...] [options] Run the webpack dev server.
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
watch|w [entries...] [options] Run webpack and watch for files changes.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information and taking precedence when "--help" and "--version" option using together 1`] = `
"Usage: webpack [entries...] [options]
Alternative usage to run commands: webpack [command] [options]
The build tool for modern web applications.
Options:
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
--config-name <value...> Name of the configuration to use.
-m, --merge Merge two or more configurations using 'webpack-merge'.
--env <value...> Environment passed to the configuration when it is a function.
--node-env <value> Sets process.env.NODE_ENV to the specified value.
--progress [value] Print compilation progress during build.
-j, --json [value] Prints result as JSON or store it in a file.
-d, --devtool <value> Determine source maps to use.
--no-devtool Do not generate source maps.
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
--mode <value> Defines the mode to pass to webpack.
--name <value> Name of the configuration. Used when loading multiple configurations.
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
--stats [value] It instructs webpack on how to treat the stats e.g. verbose.
--no-stats Disable stats output.
-t, --target <value...> Sets the build target e.g. node.
--no-target Negative 'target' option.
-w, --watch Watch for files changes.
--no-watch Do not watch for file changes.
--watch-options-stdin Stop watching when stdin stream has ended.
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
Commands:
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
configtest|t [config-path] Validate a webpack configuration.
help|h [command] [option] Display help for commands and options.
info|i [options] Outputs information about your system.
init|create|new|c|n [generation-path] [options] Initialize a new webpack project.
loader|l [output-path] [options] Scaffold a loader.
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
plugin|p [output-path] [options] Scaffold a plugin.
serve|server|s [entries...] [options] Run the webpack dev server.
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
watch|w [entries...] [options] Run webpack and watch for files changes.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information for 'build' command using the "--help" option 1`] = `
"Usage: webpack build|bundle|b [entries...] [options]
Run webpack (default command, can be omitted).
Options:
-c, --config <value...> Provide path to a webpack configuration file e.g.
./webpack.config.js.
--config-name <value...> Name of the configuration to use.
-m, --merge Merge two or more configurations using
'webpack-merge'.
--env <value...> Environment passed to the configuration when it is
a function.
--node-env <value> Sets process.env.NODE_ENV to the specified value.
--progress [value] Print compilation progress during build.
-j, --json [value] Prints result as JSON or store it in a file.
-d, --devtool <value> Determine source maps to use.
--no-devtool Do not generate source maps.
--entry <value...> The entry point(s) of your application e.g.
./src/main.js.
--mode <value> Defines the mode to pass to webpack.
--name <value> Name of the configuration. Used when loading
multiple configurations.
-o, --output-path <value> Output location of the file generated by webpack
e.g. ./dist/.
--stats [value] It instructs webpack on how to treat the stats
e.g. verbose.
--no-stats Disable stats output.
-t, --target <value...> Sets the build target e.g. node.
--no-target Negative 'target' option.
-w, --watch Watch for files changes.
--no-watch Do not watch for file changes.
--watch-options-stdin Stop watching when stdin stream has ended.
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack',
'webpack-cli' and 'webpack-dev-server' and
commands.
-h, --help [verbose] Display help for commands and options.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information for 'configtest' command using the "--help" option 1`] = `
"Usage: webpack configtest|t [config-path]
Validate a webpack configuration.
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli'
and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information for 'info' command using the "--help" option 1`] = `
"Usage: webpack info|i [options]
Outputs information about your system.
Options:
--output <value> To get the output in a specified format ( accept json
or markdown )
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli'
and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information for 'init' command using the "--help" option 1`] = `
"Usage: webpack init|create|new|c|n [generation-path] [options]
Initialize a new webpack project.
Options:
--template <value> Type of template (default: \\"default\\")
--force Generate without questions (ideally) using default
answers
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli'
and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information for 'loader' command using the "--help" option 1`] = `
"Usage: webpack loader|l [output-path] [options]
Scaffold a loader.
Options:
--template <value> Type of template (default: \\"default\\")
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli'
and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information for 'migrate' command using the "--help" option 1`] = `
"Usage: webpack migrate|m <config-path> [new-config-path]
Migrate a configuration to a new version.
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli'
and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information for 'plugin' command using the "--help" option 1`] = `
"Usage: webpack plugin|p [output-path] [options]
Scaffold a plugin.
Options:
--template <value> Type of template (default: \\"default\\")
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli'
and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information for 'serve' command using the "--help" option 1`] = `
"Usage: webpack serve|server|s [entries...] [options]
Run the webpack dev server.
Options:
-c, --config <value...> Provide path to a webpack configuration file e.g.
./webpack.config.js.
--config-name <value...> Name of the configuration to use.
-m, --merge Merge two or more configurations using
'webpack-merge'.
--env <value...> Environment passed to the configuration when it
is a function.
--node-env <value> Sets process.env.NODE_ENV to the specified value.
--progress [value] Print compilation progress during build.
-j, --json [value] Prints result as JSON or store it in a file.
-d, --devtool <value> Determine source maps to use.
--no-devtool Do not generate source maps.
--entry <value...> The entry point(s) of your application e.g.
./src/main.js.
--mode <value> Defines the mode to pass to webpack.
--name <value> Name of the configuration. Used when loading
multiple configurations.
-o, --output-path <value> Output location of the file generated by webpack
e.g. ./dist/.
--stats [value] It instructs webpack on how to treat the stats
e.g. verbose.
--no-stats Disable stats output.
-t, --target <value...> Sets the build target e.g. node.
--no-target Negative 'target' option.
--watch-options-stdin Stop watching when stdin stream has ended.
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
--bonjour Broadcasts the server via ZeroConf networking on
start
--lazy Lazy
--liveReload Enables/Disables live reloading on changing files
--serveIndex Enables/Disables serveIndex middleware
--inline Inline mode (set to false to disable including
client scripts like livereload)
--profile Print compilation profile data for progress steps
--progress Print compilation progress in percentage
--hot-only Do not refresh page if HMR fails
--stdin close when stdin ends
--open [value] Open the default browser, or optionally specify a
browser name
--useLocalIp Open default browser with local IP
--open-page <value> Open default browser with the specified page
--client-log-level <value> Log level in the browser (trace, debug, info,
warn, error or silent)
--https HTTPS
--http2 HTTP/2, must be used with HTTPS
--key <value> Path to a SSL key.
--cert <value> Path to a SSL certificate.
--cacert <value> Path to a SSL CA certificate.
--pfx <value> Path to a SSL pfx file.
--pfx-passphrase <value> Passphrase for pfx file.
--content-base <value> A directory or URL to serve HTML content from.
--watch-content-base Enable live-reloading of the content-base.
--history-api-fallback Fallback to /index.html for Single Page
Applications.
--compress Enable gzip compression
--port <value> The port
--disable-host-check Will not check the host
--socket <value> Socket to listen
--public <value> The public hostname/ip address of the server
--host <value> The hostname/ip address the server will bind to
--allowed-hosts <value...> A list of hosts that are allowed to access the
dev server, separated by spaces
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack',
'webpack-cli' and 'webpack-dev-server' and
commands.
-h, --help [verbose] Display help for commands and options.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information for 'watch' command using the "--help" option 1`] = `
"Usage: webpack watch|w [entries...] [options]
Run webpack and watch for files changes.
Options:
-c, --config <value...> Provide path to a webpack configuration file e.g.
./webpack.config.js.
--config-name <value...> Name of the configuration to use.
-m, --merge Merge two or more configurations using
'webpack-merge'.
--env <value...> Environment passed to the configuration when it is
a function.
--node-env <value> Sets process.env.NODE_ENV to the specified value.
--progress [value] Print compilation progress during build.
-j, --json [value] Prints result as JSON or store it in a file.
-d, --devtool <value> Determine source maps to use.
--no-devtool Do not generate source maps.
--entry <value...> The entry point(s) of your application e.g.
./src/main.js.
--mode <value> Defines the mode to pass to webpack.
--name <value> Name of the configuration. Used when loading
multiple configurations.
-o, --output-path <value> Output location of the file generated by webpack
e.g. ./dist/.
--stats [value] It instructs webpack on how to treat the stats
e.g. verbose.
--no-stats Disable stats output.
-t, --target <value...> Sets the build target e.g. node.
--no-target Negative 'target' option.
--watch-options-stdin Stop watching when stdin stream has ended.
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack',
'webpack-cli' and 'webpack-dev-server' and
commands.
-h, --help [verbose] Display help for commands and options.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information using command syntax 1`] = `
"Usage: webpack [entries...] [options]
Alternative usage to run commands: webpack [command] [options]
The build tool for modern web applications.
Options:
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
--config-name <value...> Name of the configuration to use.
-m, --merge Merge two or more configurations using 'webpack-merge'.
--env <value...> Environment passed to the configuration when it is a function.
--node-env <value> Sets process.env.NODE_ENV to the specified value.
--progress [value] Print compilation progress during build.
-j, --json [value] Prints result as JSON or store it in a file.
-d, --devtool <value> Determine source maps to use.
--no-devtool Do not generate source maps.
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
--mode <value> Defines the mode to pass to webpack.
--name <value> Name of the configuration. Used when loading multiple configurations.
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
--stats [value] It instructs webpack on how to treat the stats e.g. verbose.
--no-stats Disable stats output.
-t, --target <value...> Sets the build target e.g. node.
--no-target Negative 'target' option.
-w, --watch Watch for files changes.
--no-watch Do not watch for file changes.
--watch-options-stdin Stop watching when stdin stream has ended.
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
Commands:
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
configtest|t [config-path] Validate a webpack configuration.
help|h [command] [option] Display help for commands and options.
info|i [options] Outputs information about your system.
init|create|new|c|n [generation-path] [options] Initialize a new webpack project.
loader|l [output-path] [options] Scaffold a loader.
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
plugin|p [output-path] [options] Scaffold a plugin.
serve|server|s [entries...] [options] Run the webpack dev server.
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
watch|w [entries...] [options] Run webpack and watch for files changes.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information using the "--help" option 1`] = `
"Usage: webpack [entries...] [options]
Alternative usage to run commands: webpack [command] [options]
The build tool for modern web applications.
Options:
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
--config-name <value...> Name of the configuration to use.
-m, --merge Merge two or more configurations using 'webpack-merge'.
--env <value...> Environment passed to the configuration when it is a function.
--node-env <value> Sets process.env.NODE_ENV to the specified value.
--progress [value] Print compilation progress during build.
-j, --json [value] Prints result as JSON or store it in a file.
-d, --devtool <value> Determine source maps to use.
--no-devtool Do not generate source maps.
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
--mode <value> Defines the mode to pass to webpack.
--name <value> Name of the configuration. Used when loading multiple configurations.
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
--stats [value] It instructs webpack on how to treat the stats e.g. verbose.
--no-stats Disable stats output.
-t, --target <value...> Sets the build target e.g. node.
--no-target Negative 'target' option.
-w, --watch Watch for files changes.
--no-watch Do not watch for file changes.
--watch-options-stdin Stop watching when stdin stream has ended.
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
Global options:
--color Enable colors on console.
--no-color Disable colors on console.
-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
-h, --help [verbose] Display help for commands and options.
Commands:
build|bundle|b [entries...] [options] Run webpack (default command, can be omitted).
configtest|t [config-path] Validate a webpack configuration.
help|h [command] [option] Display help for commands and options.
info|i [options] Outputs information about your system.
init|create|new|c|n [generation-path] [options] Initialize a new webpack project.
loader|l [output-path] [options] Scaffold a loader.
migrate|m <config-path> [new-config-path] Migrate a configuration to a new version.
plugin|p [output-path] [options] Scaffold a plugin.
serve|server|s [entries...] [options] Run the webpack dev server.
version|v [commands...] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and commands.
watch|w [entries...] [options] Run webpack and watch for files changes.
To see list of all supported commands and options run 'webpack --help=verbose'.
Webpack documentation: https://webpack.js.org/.
CLI documentation: https://webpack.js.org/api/cli/.
Made with ♥ by the webpack team."
`;
exports[`help should show help information using the "--help" option with the "verbose" value #2 1`] = `
"Usage: webpack [entries...] [options]
Alternative usage to run commands: webpack [command] [options]
The build tool for modern web applications.
Options:
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
--config-name <value...> Name of the configuration to use.
-m, --merge Merge two or more configurations using 'webpack-merge'.
--env <value...> Environment passed to the configuration when it is a function.
--node-env <value> Sets process.env.NODE_ENV to the specified value.
-h, --hot [value] Enables Hot Module Replacement
--no-hot Disables Hot Module Replacement.
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
--progress [value] Print compilation progress during build.
--prefetch <value> Prefetch this request.
-j, --json [value] Prints result as JSON or store it in a file.
--no-amd Negative 'amd' option.
--bail Report the first error as a hard error instead of tolerating it.
--no-bail Negative 'bail' option.
--cache Enable in memory caching. Disable caching.
--no-cache Negative 'cache' option.
--cache-type <value> In memory caching. Filesystem caching.
--cache-cache-directory <value> Base directory for the cache (defaults to node_modules/.cache/webpack).
--cache-cache-location <value> Locations for the cache (defaults to cacheDirectory / name).
--cache-hash-algorithm <value> Algorithm used for generation the hash (see node.js crypto package).
--cache-idle-timeout <value> Time in ms after which idle period the cache storing should happen (only for store: 'pack' or 'idle').
--cache-idle-timeout-for-initial-store <value> Time in ms after which idle period the initial cache storing should happen (only for store: 'pack' or 'idle').
--cache-immutable-paths <value...> A path to a immutable directory (usually a package manager cache directory).
--cache-immutable-paths-reset Clear all items provided in configuration. List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.
--cache-managed-paths <value...> A path to a managed directory (usually a node_modules directory).
--cache-managed-paths-reset Clear all items provided in configuration. List of paths that are managed by a package manager and can be trusted to not be modified otherwise.
--cache-name <value> Name for the cache. Different names will lead to different coexisting caches.
--cache-store <value> When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).
--cache-version <value> Version of the cache data. Different versions won't allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn't allow to reuse cache. This will invalidate the cache.
--context <value> The base directory (absolute path!) for resolving the \`entry\` option. If \`output.pathinfo\` is set, the included pathinfo is shortened to this directory.
--dependencies <value...> References to another configuration to depend on.
--dependencies-reset Clear all items provided in configuration. References to other configurations to depend on.
-d, --devtool <value> Determine source maps to use.
--no-devtool Do not generate source maps.
--entry <value...> The entry point(s) of your application e.g. ./src/main.js.
--entry-reset Clear all items provided in configuration. All modules are loaded upon startup. The last one is exported.
--experiments-asset Allow module type 'asset' to generate assets.
--no-experiments-asset Negative 'experiments-asset' option.
--experiments-async-web-assembly Support WebAssembly as asynchronous EcmaScript Module.
--no-experiments-async-web-assembly Negative 'experiments-async-web-assembly' option.
--experiments-layers Enable module and chunk layers.
--no-experiments-layers Negative 'experiments-layers' option.
--experiments-lazy-compilation Compile entrypoints and import()s only when they are accessed.
--no-experiments-lazy-compilation Negative 'experiments-lazy-compilation' option.
--experiments-lazy-compilation-client <value> A custom client.
--experiments-lazy-compilation-entries Enable/disable lazy compilation for entries.
--no-experiments-lazy-compilation-entries Negative 'experiments-lazy-compilation-entries' option.
--experiments-lazy-compilation-imports Enable/disable lazy compilation for import() modules.
--no-experiments-lazy-compilation-imports Negative 'experiments-lazy-compilation-imports' option.
--experiments-lazy-compilation-test <value> Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.
--experiments-output-module Allow output javascript files as module source type.
--no-experiments-output-module Negative 'experiments-output-module' option.
--experiments-sync-web-assembly Support WebAssembly as synchronous EcmaScript Module (outdated).
--no-experiments-sync-web-assembly Negative 'experiments-sync-web-assembly' option.
--experiments-top-level-await Allow using top-level-await in EcmaScript Modules.
--no-experiments-top-level-await Negative 'experiments-top-level-await' option.
--externals <value...> Every matched dependency becomes external. An exact matched dependency becomes external. The same string is used as external dependency.
--externals-reset Clear all items provided in configuration. Specify dependencies that shouldn't be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on \`output.libraryTarget\`.
--externals-presets-electron Treat common electron built-in modules in main and preload context like 'electron', 'ipc' or 'shell' as external and load them via require() when used.
--no-externals-presets-electron Negative 'externals-presets-electron' option.
--externals-presets-electron-main Treat electron built-in modules in the main context like 'app', 'ipc-main' or 'shell' as external and load them via require() when used.
--no-externals-presets-electron-main Negative 'externals-presets-electron-main' option.
--externals-presets-electron-preload Treat electron built-in modules in the preload context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.
--no-externals-presets-electron-preload Negative 'externals-presets-electron-preload' option.
--externals-presets-electron-renderer Treat electron built-in modules in the renderer context like 'web-frame', 'ipc-renderer' or 'shell' as external and load them via require() when used.
--no-externals-presets-electron-renderer Negative 'externals-presets-electron-renderer' option.
--externals-presets-node Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.
--no-externals-presets-node Negative 'externals-presets-node' option.
--externals-presets-nwjs Treat NW.js legacy nw.gui module as external and load it via require() when used.
--no-externals-presets-nwjs Negative 'externals-presets-nwjs' option.
--externals-presets-web Treat references to 'http(s)://...' and 'std:...' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).
--no-externals-presets-web Negative 'externals-presets-web' option.
--externals-presets-web-async Treat references to 'http(s)://...' and 'std:...' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).
--no-externals-presets-web-async Negative 'externals-presets-web-async' option.
--externals-type <value> Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).
--ignore-warnings <value...> A RegExp to select the warning message.
--ignore-warnings-file <value...> A RegExp to select the origin file for the warning.
--ignore-warnings-message <value...> A RegExp to select the warning message.
--ignore-warnings-module <value...> A RegExp to select the origin module for the warning.
--ignore-warnings-reset Clear all items provided in configuration. Ignore specific warnings.
--infrastructure-logging-debug [value...] Enable/Disable debug logging for all loggers. Enable debug logging for specific loggers.
--no-infrastructure-logging-debug Negative 'infrastructure-logging-debug' option.
--infrastructure-logging-debug-reset Clear all items provided in configuration. Enable debug logging for specific loggers.
--infrastructure-logging-level <value> Log level.
--mode <value> Defines the mode to pass to webpack.
--module-expr-context-critical Enable warnings for full dynamic dependencies.
--no-module-expr-context-critical Negative 'module-expr-context-critical' option.
--module-expr-context-recursive Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRecursive'.
--no-module-expr-context-recursive Negative 'module-expr-context-recursive' option.
--module-expr-context-reg-exp [value] Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRegExp'.
--no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' option.
--module-expr-context-request <value> Set the default request for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRequest'.
--module-generator-asset-data-url-encoding <value> Asset encoding (defaults to base64).
--no-module-generator-asset-data-url-encoding Negative 'module-generator-asset-data-url-encoding' option.
--module-generator-asset-data-url-mimetype <value> Asset mimetype (getting from file extension by default).
--module-generator-asset-emit Emit an output asset from this asset module. This can be set to 'false' to omit emitting e. g. for SSR.
--no-module-generator-asset-emit Negative 'module-generator-asset-emit' option.
--module-generator-asset-filename <value> Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
--module-generator-asset-public-path <value> The 'publicPath' specifies the public URL address of the output files when referenced in a browser.
--module-generator-asset-inline-data-url-encoding <value> Asset encoding (defaults to base64).
--no-module-generator-asset-inline-data-url-encoding Negative 'module-generator-asset-inline-data-url-encoding' option.
--module-generator-asset-inline-data-url-mimetype <value> Asset mimetype (getting from file extension by default).
--module-generator-asset-resource-emit Emit an output asset from this asset module. This can be set to 'false' to omit emitting e. g. for SSR.
--no-module-generator-asset-resource-emit Negative 'module-generator-asset-resource-emit' option.
--module-generator-asset-resource-filename <value> Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
--module-generator-asset-resource-public-path <value> The 'publicPath' specifies the public URL address of the output files when referenced in a browser.
--module-no-parse <value...> A regular expression, when matched the module is not parsed. An absolute path, when the module starts with this path it is not parsed.
--module-no-parse-reset Clear all items provided in configuration. Don't parse files matching. It's matched against the full resolved request.
--module-parser-asset-data-url-condition-max-size <value> Maximum size of asset that should be inline as modules. Default: 8kb.
--no-module-parser-javascript-amd Negative 'module-parser-javascript-amd' option.
--module-parser-javascript-browserify Enable/disable special handling for browserify bundles.
--no-module-parser-javascript-browserify Negative 'module-parser-javascript-browserify' option.
--module-parser-javascript-commonjs Enable/disable parsing of CommonJs syntax.
--no-module-parser-javascript-commonjs Negative 'module-parser-javascript-commonjs' option.
--module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic comments in CommonJs syntax.
--no-module-parser-javascript-commonjs-magic-comments Negative 'module-parser-javascript-commonjs-magic-comments' option.
--module-parser-javascript-expr-context-critical Enable warnings for full dynamic dependencies.
--no-module-parser-javascript-expr-context-critical Negative 'module-parser-javascript-expr-context-critical' option.
--module-parser-javascript-expr-context-recursive Enable recursive directory lookup for full dynamic dependencies.
--no-module-parser-javascript-expr-context-recursive Negative 'module-parser-javascript-expr-context-recursive' option.
--module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression for full dynamic dependencies.
--no-module-parser-javascript-expr-context-reg-exp Negative 'module-parser-javascript-expr-context-reg-exp' option.
--module-parser-javascript-expr-context-request <value> Set the default request for full dynamic dependencies.
--module-parser-javascript-harmony Enable/disable parsing of EcmaScript Modules syntax.
--no-module-parser-javascript-harmony Negative 'module-parser-javascript-harmony' option.
--module-parser-javascript-import Enable/disable parsing of import() syntax.
--no-module-parser-javascript-import Negative 'module-parser-javascript-import' option.
--no-module-parser-javascript-node Negative 'module-parser-javascript-node' option.
--module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' variable.
--no-module-parser-javascript-node-dirname Negative 'module-parser-javascript-node-dirname' option.
--module-parser-javascript-node-filename [value] Include a polyfill for the '__filename' variable.
--no-module-parser-javascript-node-filename Negative 'module-parser-javascript-node-filename' option.
--module-parser-javascript-node-global Include a polyfill for the 'global' variable.
--no-module-parser-javascript-node-global Negative 'module-parser-javascript-node-global' option.
--module-parser-javascript-require-context Enable/disable parsing of require.context syntax.
--no-module-parser-javascript-require-context Negative 'module-parser-javascript-require-context' option.
--module-parser-javascript-require-ensure Enable/disable parsing of require.ensure syntax.
--no-module-parser-javascript-require-ensure Negative 'module-parser-javascript-require-ensure' option.
--module-parser-javascript-require-include Enable/disable parsing of require.include syntax.
--no-module-parser-javascript-require-include Negative 'module-parser-javascript-require-include' option.
--module-parser-javascript-require-js Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.
--no-module-parser-javascript-require-js Negative 'module-parser-javascript-require-js' option.
--module-parser-javascript-strict-export-presence Emit errors instead of warnings when imported names don't exist in imported module.
--no-module-parser-javascript-strict-export-presence Negative 'module-parser-javascript-strict-export-presence' option.
--module-parser-javascript-strict-this-context-on-imports Handle the this context correctly according to the spec for namespace objects.
--no-module-parser-javascript-strict-this-context-on-imports Negative 'module-parser-javascript-strict-this-context-on-imports' option.
--module-parser-javascript-system Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.
--no-module-parser-javascript-system Negative 'module-parser-javascript-system' option.
--module-parser-javascript-unknown-context-critical Enable warnings when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-unknown-context-critical Negative 'module-parser-javascript-unknown-context-critical' option.
--module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-unknown-context-recursive Negative 'module-parser-javascript-unknown-context-recursive' option.
--module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-unknown-context-reg-exp Negative 'module-parser-javascript-unknown-context-reg-exp' option.
--module-parser-javascript-unknown-context-request <value> Sets the request when using the require function in a not statically analyse-able way.
--module-parser-javascript-url [value] Enable/disable parsing of new URL() syntax.
--no-module-parser-javascript-url Negative 'module-parser-javascript-url' option.
--module-parser-javascript-worker [value...] Specify a syntax that should be parsed as WebWorker reference. 'Abc' handles 'new Abc()', 'Abc from xyz' handles 'import { Abc } from \\"xyz\\"; new Abc()', 'abc()' handles 'abc()', and combinations are also possible. Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().
--no-module-parser-javascript-worker Negative 'module-parser-javascript-worker' option.
--module-parser-javascript-worker-reset Clear all items provided in configuration. Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().
--module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic dependencies.
--no-module-parser-javascript-wrapped-context-critical Negative 'module-parser-javascript-wrapped-context-critical' option.
--module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for partial dynamic dependencies.
--no-module-parser-javascript-wrapped-context-recursive Negative 'module-parser-javascript-wrapped-context-recursive' option.
--module-parser-javascript-wrapped-context-reg-exp <value> Set the inner regular expression for partial dynamic dependencies.
--no-module-parser-javascript-auto-amd Negative 'module-parser-javascript-auto-amd' option.
--module-parser-javascript-auto-browserify Enable/disable special handling for browserify bundles.
--no-module-parser-javascript-auto-browserify Negative 'module-parser-javascript-auto-browserify' option.
--module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs syntax.
--no-module-parser-javascript-auto-commonjs Negative 'module-parser-javascript-auto-commonjs' option.
--module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic comments in CommonJs syntax.
--no-module-parser-javascript-auto-commonjs-magic-comments Negative 'module-parser-javascript-auto-commonjs-magic-comments' option.
--module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic dependencies.
--no-module-parser-javascript-auto-expr-context-critical Negative 'module-parser-javascript-auto-expr-context-critical' option.
--module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for full dynamic dependencies.
--no-module-parser-javascript-auto-expr-context-recursive Negative 'module-parser-javascript-auto-expr-context-recursive' option.
--module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression for full dynamic dependencies.
--no-module-parser-javascript-auto-expr-context-reg-exp Negative 'module-parser-javascript-auto-expr-context-reg-exp' option.
--module-parser-javascript-auto-expr-context-request <value> Set the default request for full dynamic dependencies.
--module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript Modules syntax.
--no-module-parser-javascript-auto-harmony Negative 'module-parser-javascript-auto-harmony' option.
--module-parser-javascript-auto-import Enable/disable parsing of import() syntax.
--no-module-parser-javascript-auto-import Negative 'module-parser-javascript-auto-import' option.
--no-module-parser-javascript-auto-node Negative 'module-parser-javascript-auto-node' option.
--module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' variable.
--no-module-parser-javascript-auto-node-dirname Negative 'module-parser-javascript-auto-node-dirname' option.
--module-parser-javascript-auto-node-filename [value] Include a polyfill for the '__filename' variable.
--no-module-parser-javascript-auto-node-filename Negative 'module-parser-javascript-auto-node-filename' option.
--module-parser-javascript-auto-node-global Include a polyfill for the 'global' variable.
--no-module-parser-javascript-auto-node-global Negative 'module-parser-javascript-auto-node-global' option.
--module-parser-javascript-auto-require-context Enable/disable parsing of require.context syntax.
--no-module-parser-javascript-auto-require-context Negative 'module-parser-javascript-auto-require-context' option.
--module-parser-javascript-auto-require-ensure Enable/disable parsing of require.ensure syntax.
--no-module-parser-javascript-auto-require-ensure Negative 'module-parser-javascript-auto-require-ensure' option.
--module-parser-javascript-auto-require-include Enable/disable parsing of require.include syntax.
--no-module-parser-javascript-auto-require-include Negative 'module-parser-javascript-auto-require-include' option.
--module-parser-javascript-auto-require-js Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.
--no-module-parser-javascript-auto-require-js Negative 'module-parser-javascript-auto-require-js' option.
--module-parser-javascript-auto-strict-export-presence Emit errors instead of warnings when imported names don't exist in imported module.
--no-module-parser-javascript-auto-strict-export-presence Negative 'module-parser-javascript-auto-strict-export-presence' option.
--module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly according to the spec for namespace objects.
--no-module-parser-javascript-auto-strict-this-context-on-imports Negative 'module-parser-javascript-auto-strict-this-context-on-imports' option.
--module-parser-javascript-auto-system Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.
--no-module-parser-javascript-auto-system Negative 'module-parser-javascript-auto-system' option.
--module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-auto-unknown-context-critical Negative 'module-parser-javascript-auto-unknown-context-critical' option.
--module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-auto-unknown-context-recursive Negative 'module-parser-javascript-auto-unknown-context-recursive' option.
--module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-auto-unknown-context-reg-exp Negative 'module-parser-javascript-auto-unknown-context-reg-exp' option.
--module-parser-javascript-auto-unknown-context-request <value> Sets the request when using the require function in a not statically analyse-able way.
--module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() syntax.
--no-module-parser-javascript-auto-url Negative 'module-parser-javascript-auto-url' option.
--module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed as WebWorker reference. 'Abc' handles 'new Abc()', 'Abc from xyz' handles 'import { Abc } from \\"xyz\\"; new Abc()', 'abc()' handles 'abc()', and combinations are also possible. Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().
--no-module-parser-javascript-auto-worker Negative 'module-parser-javascript-auto-worker' option.
--module-parser-javascript-auto-worker-reset Clear all items provided in configuration. Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().
--module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic dependencies.
--no-module-parser-javascript-auto-wrapped-context-critical Negative 'module-parser-javascript-auto-wrapped-context-critical' option.
--module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for partial dynamic dependencies.
--no-module-parser-javascript-auto-wrapped-context-recursive Negative 'module-parser-javascript-auto-wrapped-context-recursive' option.
--module-parser-javascript-auto-wrapped-context-reg-exp <value> Set the inner regular expression for partial dynamic dependencies.
--no-module-parser-javascript-dynamic-amd Negative 'module-parser-javascript-dynamic-amd' option.
--module-parser-javascript-dynamic-browserify Enable/disable special handling for browserify bundles.
--no-module-parser-javascript-dynamic-browserify Negative 'module-parser-javascript-dynamic-browserify' option.
--module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs syntax.
--no-module-parser-javascript-dynamic-commonjs Negative 'module-parser-javascript-dynamic-commonjs' option.
--module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic comments in CommonJs syntax.
--no-module-parser-javascript-dynamic-commonjs-magic-comments Negative 'module-parser-javascript-dynamic-commonjs-magic-comments' option.
--module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic dependencies.
--no-module-parser-javascript-dynamic-expr-context-critical Negative 'module-parser-javascript-dynamic-expr-context-critical' option.
--module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for full dynamic dependencies.
--no-module-parser-javascript-dynamic-expr-context-recursive Negative 'module-parser-javascript-dynamic-expr-context-recursive' option.
--module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression for full dynamic dependencies.
--no-module-parser-javascript-dynamic-expr-context-reg-exp Negative 'module-parser-javascript-dynamic-expr-context-reg-exp' option.
--module-parser-javascript-dynamic-expr-context-request <value> Set the default request for full dynamic dependencies.
--module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript Modules syntax.
--no-module-parser-javascript-dynamic-harmony Negative 'module-parser-javascript-dynamic-harmony' option.
--module-parser-javascript-dynamic-import Enable/disable parsing of import() syntax.
--no-module-parser-javascript-dynamic-import Negative 'module-parser-javascript-dynamic-import' option.
--no-module-parser-javascript-dynamic-node Negative 'module-parser-javascript-dynamic-node' option.
--module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' variable.
--no-module-parser-javascript-dynamic-node-dirname Negative 'module-parser-javascript-dynamic-node-dirname' option.
--module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the '__filename' variable.
--no-module-parser-javascript-dynamic-node-filename Negative 'module-parser-javascript-dynamic-node-filename' option.
--module-parser-javascript-dynamic-node-global Include a polyfill for the 'global' variable.
--no-module-parser-javascript-dynamic-node-global Negative 'module-parser-javascript-dynamic-node-global' option.
--module-parser-javascript-dynamic-require-context Enable/disable parsing of require.context syntax.
--no-module-parser-javascript-dynamic-require-context Negative 'module-parser-javascript-dynamic-require-context' option.
--module-parser-javascript-dynamic-require-ensure Enable/disable parsing of require.ensure syntax.
--no-module-parser-javascript-dynamic-require-ensure Negative 'module-parser-javascript-dynamic-require-ensure' option.
--module-parser-javascript-dynamic-require-include Enable/disable parsing of require.include syntax.
--no-module-parser-javascript-dynamic-require-include Negative 'module-parser-javascript-dynamic-require-include' option.
--module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.
--no-module-parser-javascript-dynamic-require-js Negative 'module-parser-javascript-dynamic-require-js' option.
--module-parser-javascript-dynamic-strict-export-presence Emit errors instead of warnings when imported names don't exist in imported module.
--no-module-parser-javascript-dynamic-strict-export-presence Negative 'module-parser-javascript-dynamic-strict-export-presence' option.
--module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly according to the spec for namespace objects.
--no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative 'module-parser-javascript-dynamic-strict-this-context-on-imports' option.
--module-parser-javascript-dynamic-system Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.
--no-module-parser-javascript-dynamic-system Negative 'module-parser-javascript-dynamic-system' option.
--module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-dynamic-unknown-context-critical Negative 'module-parser-javascript-dynamic-unknown-context-critical' option.
--module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-dynamic-unknown-context-recursive Negative 'module-parser-javascript-dynamic-unknown-context-recursive' option.
--module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative 'module-parser-javascript-dynamic-unknown-context-reg-exp' option.
--module-parser-javascript-dynamic-unknown-context-request <value> Sets the request when using the require function in a not statically analyse-able way.
--module-parser-javascript-dynamic-url [value] Enable/disable parsing of new URL() syntax.
--no-module-parser-javascript-dynamic-url Negative 'module-parser-javascript-dynamic-url' option.
--module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed as WebWorker reference. 'Abc' handles 'new Abc()', 'Abc from xyz' handles 'import { Abc } from \\"xyz\\"; new Abc()', 'abc()' handles 'abc()', and combinations are also possible. Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().
--no-module-parser-javascript-dynamic-worker Negative 'module-parser-javascript-dynamic-worker' option.
--module-parser-javascript-dynamic-worker-reset Clear all items provided in configuration. Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().
--module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic dependencies.
--no-module-parser-javascript-dynamic-wrapped-context-critical Negative 'module-parser-javascript-dynamic-wrapped-context-critical' option.
--module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for partial dynamic dependencies.
--no-module-parser-javascript-dynamic-wrapped-context-recursive Negative 'module-parser-javascript-dynamic-wrapped-context-recursive' option.
--module-parser-javascript-dynamic-wrapped-context-reg-exp <value> Set the inner regular expression for partial dynamic dependencies.
--no-module-parser-javascript-esm-amd Negative 'module-parser-javascript-esm-amd' option.
--module-parser-javascript-esm-browserify Enable/disable special handling for browserify bundles.
--no-module-parser-javascript-esm-browserify Negative 'module-parser-javascript-esm-browserify' option.
--module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs syntax.
--no-module-parser-javascript-esm-commonjs Negative 'module-parser-javascript-esm-commonjs' option.
--module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic comments in CommonJs syntax.
--no-module-parser-javascript-esm-commonjs-magic-comments Negative 'module-parser-javascript-esm-commonjs-magic-comments' option.
--module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic dependencies.
--no-module-parser-javascript-esm-expr-context-critical Negative 'module-parser-javascript-esm-expr-context-critical' option.
--module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for full dynamic dependencies.
--no-module-parser-javascript-esm-expr-context-recursive Negative 'module-parser-javascript-esm-expr-context-recursive' option.
--module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression for full dynamic dependencies.
--no-module-parser-javascript-esm-expr-context-reg-exp Negative 'module-parser-javascript-esm-expr-context-reg-exp' option.
--module-parser-javascript-esm-expr-context-request <value> Set the default request for full dynamic dependencies.
--module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript Modules syntax.
--no-module-parser-javascript-esm-harmony Negative 'module-parser-javascript-esm-harmony' option.
--module-parser-javascript-esm-import Enable/disable parsing of import() syntax.
--no-module-parser-javascript-esm-import Negative 'module-parser-javascript-esm-import' option.
--no-module-parser-javascript-esm-node Negative 'module-parser-javascript-esm-node' option.
--module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' variable.
--no-module-parser-javascript-esm-node-dirname Negative 'module-parser-javascript-esm-node-dirname' option.
--module-parser-javascript-esm-node-filename [value] Include a polyfill for the '__filename' variable.
--no-module-parser-javascript-esm-node-filename Negative 'module-parser-javascript-esm-node-filename' option.
--module-parser-javascript-esm-node-global Include a polyfill for the 'global' variable.
--no-module-parser-javascript-esm-node-global Negative 'module-parser-javascript-esm-node-global' option.
--module-parser-javascript-esm-require-context Enable/disable parsing of require.context syntax.
--no-module-parser-javascript-esm-require-context Negative 'module-parser-javascript-esm-require-context' option.
--module-parser-javascript-esm-require-ensure Enable/disable parsing of require.ensure syntax.
--no-module-parser-javascript-esm-require-ensure Negative 'module-parser-javascript-esm-require-ensure' option.
--module-parser-javascript-esm-require-include Enable/disable parsing of require.include syntax.
--no-module-parser-javascript-esm-require-include Negative 'module-parser-javascript-esm-require-include' option.
--module-parser-javascript-esm-require-js Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.
--no-module-parser-javascript-esm-require-js Negative 'module-parser-javascript-esm-require-js' option.
--module-parser-javascript-esm-strict-export-presence Emit errors instead of warnings when imported names don't exist in imported module.
--no-module-parser-javascript-esm-strict-export-presence Negative 'module-parser-javascript-esm-strict-export-presence' option.
--module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly according to the spec for namespace objects.
--no-module-parser-javascript-esm-strict-this-context-on-imports Negative 'module-parser-javascript-esm-strict-this-context-on-imports' option.
--module-parser-javascript-esm-system Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.
--no-module-parser-javascript-esm-system Negative 'module-parser-javascript-esm-system' option.
--module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-esm-unknown-context-critical Negative 'module-parser-javascript-esm-unknown-context-critical' option.
--module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-esm-unknown-context-recursive Negative 'module-parser-javascript-esm-unknown-context-recursive' option.
--module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using the require function in a not statically analyse-able way.
--no-module-parser-javascript-esm-unknown-context-reg-exp Negative 'module-parser-javascript-esm-unknown-context-reg-exp' option.
--module-parser-javascript-esm-unknown-context-request <value> Sets the request when using the require function in a not statically analyse-able way.
--module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() syntax.
--no-module-parser-javascript-esm-url Negative 'module-parser-javascript-esm-url' option.
--module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed as WebWorker reference. 'Abc' handles 'new Abc()', 'Abc from xyz' handles 'import { Abc } from \\"xyz\\"; new Abc()', 'abc()' handles 'abc()', and combinations are also possible. Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().
--no-module-parser-javascript-esm-worker Negative 'module-parser-javascript-esm-worker' option.
--module-parser-javascript-esm-worker-reset Clear all items provided in configuration. Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().
--module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic dependencies.
--no-module-parser-javascript-esm-wrapped-context-critical Negative 'module-parser-javascript-esm-wrapped-context-critical' option.
--module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for partial dynamic dependencies.
--no-module-parser-javascript-esm-wrapped-context-recursive Negative 'module-parser-javascript-esm-wrapped-context-recursive' option.
--module-parser-javascript-esm-wrapped-context-reg-exp <value> Set the inner regular expression for partial dynamic dependencies.
--module-rules-compiler <value...> Match the child compiler name.
--module-rules-dependency <value...> Match dependency type.
--module-rules-enforce <value...> Enforce this rule as pre or post step.
--module-rules-exclude <value...> Shortcut for resource.exclude.
--module-rules-include <value...> Shortcut for resource.include.
--module-rules-issuer <value...> Match the issuer of the module (The module pointing to this module).
--module-rules-issuer-layer <value...> Match layer of the issuer of this module (The module pointing to this module).
--module-rules-layer <value...> Specifies the layer in which the module should be placed in.
--module-rules-loader <value...> A loader request.
--module-rules-mimetype <value...> Match module mimetype when load from Data URI.
--module-rules-real-resource <value...> Match the real resource path of the module.