Skip to content

Commit 83c4027

Browse files
committed
Remove hosts setting for webpack devserver
1 parent 1277662 commit 83c4027

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

packages/app1/webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ module.exports = {
1414
devtool: "source-map",
1515
devServer: {
1616
contentBase: path.join(__dirname, "dist"),
17-
port: 1337,
18-
allowedHosts: 'all'
17+
port: 1337
1918
},
2019
output: {
2120
publicPath: "auto",

packages/app2/webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ module.exports = {
1515
devtool: "source-map",
1616
devServer: {
1717
contentBase: path.join(__dirname, "dist"),
18-
port: 1338,
19-
allowedHosts: 'all'
18+
port: 1338
2019
},
2120
output: {
2221
publicPath: "auto",

packages/store/webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ module.exports = {
1616
devtool: "source-map",
1717
devServer: {
1818
contentBase: path.join(__dirname, "dist"),
19-
port: 1339,
20-
allowedHosts: 'all'
19+
port: 1339
2120
},
2221
output: {
2322
publicPath: "auto",

yarn.lock

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Manual changes might be lost - proceed with caution!
33

44
__metadata:
5-
version: 5
5+
version: 6
66
cacheKey: 8
77

88
"@babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7":
@@ -779,6 +779,15 @@ __metadata:
779779
languageName: node
780780
linkType: hard
781781

782+
"acorn@npm:^8.5.0":
783+
version: 8.11.3
784+
resolution: "acorn@npm:8.11.3"
785+
bin:
786+
acorn: bin/acorn
787+
checksum: 76d8e7d559512566b43ab4aadc374f11f563f0a9e21626dd59cb2888444e9445923ae9f3699972767f18af61df89cd89f5eaaf772d1327b055b45cb829b4a88c
788+
languageName: node
789+
linkType: hard
790+
782791
"agent-base@npm:6, agent-base@npm:^6.0.2":
783792
version: 6.0.2
784793
resolution: "agent-base@npm:6.0.2"
@@ -2579,7 +2588,7 @@ __metadata:
25792588

25802589
"fsevents@patch:fsevents@^1.2.7#~builtin<compat/fsevents>":
25812590
version: 1.2.13
2582-
resolution: "fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=18f3a7"
2591+
resolution: "fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=d11327"
25832592
dependencies:
25842593
bindings: ^1.5.0
25852594
nan: ^2.12.1
@@ -5100,7 +5109,7 @@ __metadata:
51005109

51015110
"resolve@patch:resolve@^1.9.0#~builtin<compat/resolve>":
51025111
version: 1.22.0
5103-
resolution: "resolve@patch:resolve@npm%3A1.22.0#~builtin<compat/resolve>::version=1.22.0&hash=07638b"
5112+
resolution: "resolve@patch:resolve@npm%3A1.22.0#~builtin<compat/resolve>::version=1.22.0&hash=c3c19d"
51045113
dependencies:
51055114
is-core-module: ^2.8.1
51065115
path-parse: ^1.0.7
@@ -6008,11 +6017,11 @@ __metadata:
60086017

60096018
"typescript@patch:typescript@^4.5.5#~builtin<compat/typescript>":
60106019
version: 4.5.5
6011-
resolution: "typescript@patch:typescript@npm%3A4.5.5#~builtin<compat/typescript>::version=4.5.5&hash=493e53"
6020+
resolution: "typescript@patch:typescript@npm%3A4.5.5#~builtin<compat/typescript>::version=4.5.5&hash=bcec9a"
60126021
bin:
60136022
tsc: bin/tsc
60146023
tsserver: bin/tsserver
6015-
checksum: c05c318d79c690f101d7ffb34cd6c7d6bbd884d3af9cefe7749ad0cd6be43c7082f098280982ca945dcba23fde34a08fed9602bb26540936baf8c0520727d3ba
6024+
checksum: 858c61fa63f7274ca4aaaffeced854d550bf416cff6e558c4884041b3311fb662f476f167cf5c9f8680c607239797e26a2ee0bcc6467fbc05bfcb218e1c6c671
60166025
languageName: node
60176026
linkType: hard
60186027

0 commit comments

Comments
 (0)