Skip to content

Commit bdb7e20

Browse files
snitin315alexander-akait
authored andcommittedNov 15, 2022
fix: improve description of the --disable-interpret option (#3364)
1 parent 94bb4f0 commit bdb7e20

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed
 

‎packages/webpack-cli/src/webpack-cli.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ class WebpackCLI implements IWebpackCLI {
739739
values: [true],
740740
},
741741
],
742-
description: "Disable interpret a config file.",
742+
description: "Disable interpret for loading the config file.",
743743
},
744744
// Complex configs
745745
{

‎test/help/__snapshots__/help.test.js.snap.devServer4.webpack5

+19-19
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Options:
9797
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
9898
--config-name <value...> Name of the configuration to use.
9999
-m, --merge Merge two or more configurations using 'webpack-merge'.
100-
--disable-interpret Disable interpret a config file.
100+
--disable-interpret Disable interpret for loading the config file.
101101
--env <value...> Environment passed to the configuration when it is a function.
102102
--node-env <value> Sets process.env.NODE_ENV to the specified value.
103103
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -156,7 +156,7 @@ Options:
156156
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
157157
--config-name <value...> Name of the configuration to use.
158158
-m, --merge Merge two or more configurations using 'webpack-merge'.
159-
--disable-interpret Disable interpret a config file.
159+
--disable-interpret Disable interpret for loading the config file.
160160
--env <value...> Environment passed to the configuration when it is a function.
161161
--node-env <value> Sets process.env.NODE_ENV to the specified value.
162162
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -215,7 +215,7 @@ Options:
215215
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
216216
--config-name <value...> Name of the configuration to use.
217217
-m, --merge Merge two or more configurations using 'webpack-merge'.
218-
--disable-interpret Disable interpret a config file.
218+
--disable-interpret Disable interpret for loading the config file.
219219
--env <value...> Environment passed to the configuration when it is a function.
220220
--node-env <value> Sets process.env.NODE_ENV to the specified value.
221221
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -273,7 +273,7 @@ Options:
273273
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
274274
--config-name <value...> Name of the configuration to use.
275275
-m, --merge Merge two or more configurations using 'webpack-merge'.
276-
--disable-interpret Disable interpret a config file.
276+
--disable-interpret Disable interpret for loading the config file.
277277
--env <value...> Environment passed to the configuration when it is a function.
278278
--node-env <value> Sets process.env.NODE_ENV to the specified value.
279279
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -319,7 +319,7 @@ Options:
319319
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
320320
--config-name <value...> Name of the configuration to use.
321321
-m, --merge Merge two or more configurations using 'webpack-merge'.
322-
--disable-interpret Disable interpret a config file.
322+
--disable-interpret Disable interpret for loading the config file.
323323
--env <value...> Environment passed to the configuration when it is a function.
324324
--node-env <value> Sets process.env.NODE_ENV to the specified value.
325325
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -367,7 +367,7 @@ Options:
367367
--config-name <value...> Name of the configuration to use.
368368
-m, --merge Merge two or more configurations using
369369
'webpack-merge'.
370-
--disable-interpret Disable interpret a config file.
370+
--disable-interpret Disable interpret for loading the config file.
371371
--env <value...> Environment passed to the configuration when it is
372372
a function.
373373
--node-env <value> Sets process.env.NODE_ENV to the specified value.
@@ -428,7 +428,7 @@ Options:
428428
--config-name <value...> Name of the configuration to use.
429429
-m, --merge Merge two or more configurations using
430430
'webpack-merge'.
431-
--disable-interpret Disable interpret a config file.
431+
--disable-interpret Disable interpret for loading the config file.
432432
--env <value...> Environment passed to the configuration when it is
433433
a function.
434434
--node-env <value> Sets process.env.NODE_ENV to the specified value.
@@ -487,7 +487,7 @@ Options:
487487
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
488488
--config-name <value...> Name of the configuration to use.
489489
-m, --merge Merge two or more configurations using 'webpack-merge'.
490-
--disable-interpret Disable interpret a config file.
490+
--disable-interpret Disable interpret for loading the config file.
491491
--env <value...> Environment passed to the configuration when it is a function.
492492
--node-env <value> Sets process.env.NODE_ENV to the specified value.
493493
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -533,7 +533,7 @@ Options:
533533
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
534534
--config-name <value...> Name of the configuration to use.
535535
-m, --merge Merge two or more configurations using 'webpack-merge'.
536-
--disable-interpret Disable interpret a config file.
536+
--disable-interpret Disable interpret for loading the config file.
537537
--env <value...> Environment passed to the configuration when it is a function.
538538
--node-env <value> Sets process.env.NODE_ENV to the specified value.
539539
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -1513,7 +1513,7 @@ Options:
15131513
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
15141514
--config-name <value...> Name of the configuration to use.
15151515
-m, --merge Merge two or more configurations using 'webpack-merge'.
1516-
--disable-interpret Disable interpret a config file.
1516+
--disable-interpret Disable interpret for loading the config file.
15171517
--env <value...> Environment passed to the configuration when it is a function.
15181518
--node-env <value> Sets process.env.NODE_ENV to the specified value.
15191519
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -1557,7 +1557,7 @@ Options:
15571557
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
15581558
--config-name <value...> Name of the configuration to use.
15591559
-m, --merge Merge two or more configurations using 'webpack-merge'.
1560-
--disable-interpret Disable interpret a config file.
1560+
--disable-interpret Disable interpret for loading the config file.
15611561
--env <value...> Environment passed to the configuration when it is a function.
15621562
--node-env <value> Sets process.env.NODE_ENV to the specified value.
15631563
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -1603,7 +1603,7 @@ Options:
16031603
--config-name <value...> Name of the configuration to use.
16041604
-m, --merge Merge two or more configurations using
16051605
'webpack-merge'.
1606-
--disable-interpret Disable interpret a config file.
1606+
--disable-interpret Disable interpret for loading the config file.
16071607
--env <value...> Environment passed to the configuration when it is
16081608
a function.
16091609
--node-env <value> Sets process.env.NODE_ENV to the specified value.
@@ -1662,7 +1662,7 @@ Options:
16621662
--config-name <value...> Name of the configuration to use.
16631663
-m, --merge Merge two or more configurations using
16641664
'webpack-merge'.
1665-
--disable-interpret Disable interpret a config file.
1665+
--disable-interpret Disable interpret for loading the config file.
16661666
--env <value...> Environment passed to the configuration when it is
16671667
a function.
16681668
--node-env <value> Sets process.env.NODE_ENV to the specified value.
@@ -1719,7 +1719,7 @@ Options:
17191719
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
17201720
--config-name <value...> Name of the configuration to use.
17211721
-m, --merge Merge two or more configurations using 'webpack-merge'.
1722-
--disable-interpret Disable interpret a config file.
1722+
--disable-interpret Disable interpret for loading the config file.
17231723
--env <value...> Environment passed to the configuration when it is a function.
17241724
--node-env <value> Sets process.env.NODE_ENV to the specified value.
17251725
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -1763,7 +1763,7 @@ Options:
17631763
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
17641764
--config-name <value...> Name of the configuration to use.
17651765
-m, --merge Merge two or more configurations using 'webpack-merge'.
1766-
--disable-interpret Disable interpret a config file.
1766+
--disable-interpret Disable interpret for loading the config file.
17671767
--env <value...> Environment passed to the configuration when it is a function.
17681768
--node-env <value> Sets process.env.NODE_ENV to the specified value.
17691769
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -1808,7 +1808,7 @@ Options:
18081808
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
18091809
--config-name <value...> Name of the configuration to use.
18101810
-m, --merge Merge two or more configurations using 'webpack-merge'.
1811-
--disable-interpret Disable interpret a config file.
1811+
--disable-interpret Disable interpret for loading the config file.
18121812
--env <value...> Environment passed to the configuration when it is a function.
18131813
--node-env <value> Sets process.env.NODE_ENV to the specified value.
18141814
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -1867,7 +1867,7 @@ Options:
18671867
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
18681868
--config-name <value...> Name of the configuration to use.
18691869
-m, --merge Merge two or more configurations using 'webpack-merge'.
1870-
--disable-interpret Disable interpret a config file.
1870+
--disable-interpret Disable interpret for loading the config file.
18711871
--env <value...> Environment passed to the configuration when it is a function.
18721872
--node-env <value> Sets process.env.NODE_ENV to the specified value.
18731873
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -2116,7 +2116,7 @@ Options:
21162116
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
21172117
--config-name <value...> Name of the configuration to use.
21182118
-m, --merge Merge two or more configurations using 'webpack-merge'.
2119-
--disable-interpret Disable interpret a config file.
2119+
--disable-interpret Disable interpret for loading the config file.
21202120
--env <value...> Environment passed to the configuration when it is a function.
21212121
--node-env <value> Sets process.env.NODE_ENV to the specified value.
21222122
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.
@@ -2173,7 +2173,7 @@ Options:
21732173
-c, --config <value...> Provide path to a webpack configuration file e.g. ./webpack.config.js.
21742174
--config-name <value...> Name of the configuration to use.
21752175
-m, --merge Merge two or more configurations using 'webpack-merge'.
2176-
--disable-interpret Disable interpret a config file.
2176+
--disable-interpret Disable interpret for loading the config file.
21772177
--env <value...> Environment passed to the configuration when it is a function.
21782178
--node-env <value> Sets process.env.NODE_ENV to the specified value.
21792179
--analyze It invokes webpack-bundle-analyzer plugin to get bundle information.

0 commit comments

Comments
 (0)
Please sign in to comment.