Skip to content

Commit 23574b7

Browse files
authored
chore: upgrade webpack (#3473)
1 parent 2b05786 commit 23574b7

File tree

5 files changed

+46
-46
lines changed

5 files changed

+46
-46
lines changed

bin/cli-flags.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ module.exports = {
3030
type: 'reset',
3131
multiple: false,
3232
description:
33-
"Clear all items provided in configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts",
33+
"Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts",
3434
path: 'allowedHosts',
3535
},
3636
],
3737
description:
38-
"Clear all items provided in configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts",
38+
"Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts",
3939
simpleType: 'boolean',
4040
multiple: false,
4141
},
@@ -614,12 +614,12 @@ module.exports = {
614614
type: 'reset',
615615
multiple: false,
616616
description:
617-
'Clear all items provided in configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen',
617+
"Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen",
618618
path: 'open',
619619
},
620620
],
621621
description:
622-
'Clear all items provided in configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen',
622+
"Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen",
623623
simpleType: 'boolean',
624624
multiple: false,
625625
},
@@ -629,12 +629,12 @@ module.exports = {
629629
type: 'reset',
630630
multiple: false,
631631
description:
632-
'Clear all items provided in configuration. Opens specified page in browser.',
632+
"Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
633633
path: 'open.target',
634634
},
635635
],
636636
description:
637-
'Clear all items provided in configuration. Opens specified page in browser.',
637+
"Clear all items provided in 'open.target' configuration. Opens specified page in browser.",
638638
simpleType: 'boolean',
639639
multiple: false,
640640
},
@@ -644,12 +644,12 @@ module.exports = {
644644
type: 'reset',
645645
multiple: false,
646646
description:
647-
'Clear all items provided in configuration. Open specified browser.',
647+
"Clear all items provided in 'open.app.name' configuration. Open specified browser.",
648648
path: 'open.app.name',
649649
},
650650
],
651651
description:
652-
'Clear all items provided in configuration. Open specified browser.',
652+
"Clear all items provided in 'open.app.name' configuration. Open specified browser.",
653653
simpleType: 'boolean',
654654
multiple: false,
655655
},
@@ -776,12 +776,12 @@ module.exports = {
776776
type: 'reset',
777777
multiple: false,
778778
description:
779-
"Clear all items provided in configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic",
779+
"Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic",
780780
path: 'static',
781781
},
782782
],
783783
description:
784-
"Clear all items provided in configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic",
784+
"Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic",
785785
simpleType: 'boolean',
786786
multiple: false,
787787
},
@@ -791,12 +791,12 @@ module.exports = {
791791
type: 'reset',
792792
multiple: false,
793793
description:
794-
'Clear all items provided in configuration. The static files will be available in the browser under this public path.',
794+
"Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
795795
path: 'static.publicPath',
796796
},
797797
],
798798
description:
799-
'Clear all items provided in configuration. The static files will be available in the browser under this public path.',
799+
"Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.",
800800
simpleType: 'boolean',
801801
multiple: false,
802802
},
@@ -821,12 +821,12 @@ module.exports = {
821821
type: 'reset',
822822
multiple: false,
823823
description:
824-
'Clear all items provided in configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles',
824+
"Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles",
825825
path: 'watchFiles',
826826
},
827827
],
828828
description:
829-
'Clear all items provided in configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles',
829+
"Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles",
830830
simpleType: 'boolean',
831831
multiple: false,
832832
},

package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"tcp-port-used": "^1.0.2",
100100
"typescript": "^4.2.4",
101101
"url-loader": "^4.1.1",
102-
"webpack": "^5.39.1",
102+
"webpack": "^5.40.0",
103103
"webpack-cli": "^4.7.2",
104104
"webpack-merge": "^5.8.0"
105105
},

test/cli/__snapshots__/basic.test.js.snap.webpack4

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Options:
3939
--watch-options-stdin Stop watching when stdin stream has ended.
4040
--no-watch-options-stdin Do not stop watching when stdin stream has ended.
4141
--allowed-hosts <value...> Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
42-
--allowed-hosts-reset Clear all items provided in configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
42+
--allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). https://webpack.js.org/configuration/dev-server/#devserverallowedhosts
4343
--bonjour Allows to broadcasts dev server via ZeroConf networking on start. https://webpack.js.org/configuration/dev-server/#devserverbonjour
4444
--no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. https://webpack.js.org/configuration/dev-server/#devserverbonjour
4545
--client-transport <value> Allows to set custom transport to communicate with dev server.
@@ -90,9 +90,9 @@ Options:
9090
--no-open-target Does not open specified page in browser.
9191
--open-app-name <value...> Open specified browser.
9292
--open-app <value...> Open specified browser.
93-
--open-reset Clear all items provided in configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen
94-
--open-target-reset Clear all items provided in configuration. Opens specified page in browser.
95-
--open-app-name-reset Clear all items provided in configuration. Open specified browser.
93+
--open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). https://webpack.js.org/configuration/dev-server/#devserveropen
94+
--open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser.
95+
--open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser.
9696
--port <value> Allows to specify a port to use. https://webpack.js.org/configuration/dev-server/#devserverport
9797
--static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic
9898
--no-static Negative 'static' option.
@@ -102,10 +102,10 @@ Options:
102102
--no-static-serve-index Does not tell dev server to use serveIndex middleware.
103103
--static-watch Watches for files in static content directory.
104104
--no-static-watch Does not watch for files in static content directory.
105-
--static-reset Clear all items provided in configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic
106-
--static-public-path-reset Clear all items provided in configuration. The static files will be available in the browser under this public path.
105+
--static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). https://webpack.js.org/configuration/dev-server/#devserverstatic
106+
--static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path.
107107
--watch-files <value...> Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
108-
--watch-files-reset Clear all items provided in configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
108+
--watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. https://webpack.js.org/configuration/dev-server/#devserverwatchfiles
109109

110110
Global options:
111111
--color Enable colors on console.

0 commit comments

Comments
 (0)