You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -856,110 +861,6 @@ class WebpackCLI implements IWebpackCLI {
856
861
alias: "j",
857
862
description: "Prints result as JSON or store it in a file.",
858
863
},
859
-
860
-
// For webpack@4
861
-
{
862
-
name: "entry",
863
-
configs: [
864
-
{
865
-
type: "string",
866
-
},
867
-
],
868
-
multiple: true,
869
-
description: "The entry point(s) of your application e.g. ./src/main.js.",
870
-
},
871
-
{
872
-
name: "output-path",
873
-
alias: "o",
874
-
configs: [
875
-
{
876
-
type: "string",
877
-
},
878
-
],
879
-
description: "Output location of the file generated by webpack e.g. ./dist/.",
880
-
},
881
-
{
882
-
name: "target",
883
-
alias: "t",
884
-
configs: [
885
-
{
886
-
type: "string",
887
-
},
888
-
],
889
-
multiple: this.webpack.cli!==undefined,
890
-
description: "Sets the build target e.g. node.",
891
-
},
892
-
{
893
-
name: "devtool",
894
-
configs: [
895
-
{
896
-
type: "string",
897
-
},
898
-
{
899
-
type: "enum",
900
-
values: [false],
901
-
},
902
-
],
903
-
negative: true,
904
-
alias: "d",
905
-
description: "Determine source maps to use.",
906
-
negatedDescription: "Do not generate source maps.",
907
-
},
908
-
{
909
-
name: "mode",
910
-
configs: [
911
-
{
912
-
type: "string",
913
-
},
914
-
],
915
-
description: "Defines the mode to pass to webpack.",
916
-
},
917
-
{
918
-
name: "name",
919
-
configs: [
920
-
{
921
-
type: "string",
922
-
},
923
-
],
924
-
description: "Name of the configuration. Used when loading multiple configurations.",
925
-
},
926
-
{
927
-
name: "stats",
928
-
configs: [
929
-
{
930
-
type: "string",
931
-
},
932
-
{
933
-
type: "boolean",
934
-
},
935
-
],
936
-
negative: true,
937
-
description: "It instructs webpack on how to treat the stats e.g. verbose.",
938
-
negatedDescription: "Disable stats output.",
939
-
},
940
-
{
941
-
name: "watch",
942
-
configs: [
943
-
{
944
-
type: "boolean",
945
-
},
946
-
],
947
-
negative: true,
948
-
alias: "w",
949
-
description: "Watch for files changes.",
950
-
negatedDescription: "Do not watch for file changes.",
951
-
},
952
-
{
953
-
name: "watch-options-stdin",
954
-
configs: [
955
-
{
956
-
type: "boolean",
957
-
},
958
-
],
959
-
negative: true,
960
-
description: "Stop watching when stdin stream has ended.",
961
-
negatedDescription: "Do not stop watching when stdin stream has ended.",
962
-
},
963
864
{
964
865
name: "fail-on-warnings",
965
866
configs: [
@@ -974,32 +875,31 @@ class WebpackCLI implements IWebpackCLI {
974
875
975
876
// Extract all the flags being exported from core.
976
877
// A list of cli flags generated by core can be found here https://github.com/webpack/webpack/blob/master/test/__snapshots__/Cli.test.js.snap
0 commit comments