Skip to content

Commit

Permalink
Remove hosts setting for webpack devserver
Browse files Browse the repository at this point in the history
  • Loading branch information
FirstWhack committed Jun 7, 2024
1 parent 1277662 commit 83c4027
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
3 changes: 1 addition & 2 deletions packages/app1/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ module.exports = {
devtool: "source-map",
devServer: {
contentBase: path.join(__dirname, "dist"),
port: 1337,
allowedHosts: 'all'
port: 1337
},
output: {
publicPath: "auto",
Expand Down
3 changes: 1 addition & 2 deletions packages/app2/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ module.exports = {
devtool: "source-map",
devServer: {
contentBase: path.join(__dirname, "dist"),
port: 1338,
allowedHosts: 'all'
port: 1338
},
output: {
publicPath: "auto",
Expand Down
3 changes: 1 addition & 2 deletions packages/store/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ module.exports = {
devtool: "source-map",
devServer: {
contentBase: path.join(__dirname, "dist"),
port: 1339,
allowedHosts: 'all'
port: 1339
},
output: {
publicPath: "auto",
Expand Down
19 changes: 14 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Manual changes might be lost - proceed with caution!

__metadata:
version: 5
version: 6
cacheKey: 8

"@babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7":
Expand Down Expand Up @@ -779,6 +779,15 @@ __metadata:
languageName: node
linkType: hard

"acorn@npm:^8.5.0":
version: 8.11.3
resolution: "acorn@npm:8.11.3"
bin:
acorn: bin/acorn
checksum: 76d8e7d559512566b43ab4aadc374f11f563f0a9e21626dd59cb2888444e9445923ae9f3699972767f18af61df89cd89f5eaaf772d1327b055b45cb829b4a88c
languageName: node
linkType: hard

"agent-base@npm:6, agent-base@npm:^6.0.2":
version: 6.0.2
resolution: "agent-base@npm:6.0.2"
Expand Down Expand Up @@ -2579,7 +2588,7 @@ __metadata:

"fsevents@patch:fsevents@^1.2.7#~builtin<compat/fsevents>":
version: 1.2.13
resolution: "fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=18f3a7"
resolution: "fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=d11327"
dependencies:
bindings: ^1.5.0
nan: ^2.12.1
Expand Down Expand Up @@ -5100,7 +5109,7 @@ __metadata:

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

"typescript@patch:typescript@^4.5.5#~builtin<compat/typescript>":
version: 4.5.5
resolution: "typescript@patch:typescript@npm%3A4.5.5#~builtin<compat/typescript>::version=4.5.5&hash=493e53"
resolution: "typescript@patch:typescript@npm%3A4.5.5#~builtin<compat/typescript>::version=4.5.5&hash=bcec9a"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: c05c318d79c690f101d7ffb34cd6c7d6bbd884d3af9cefe7749ad0cd6be43c7082f098280982ca945dcba23fde34a08fed9602bb26540936baf8c0520727d3ba
checksum: 858c61fa63f7274ca4aaaffeced854d550bf416cff6e558c4884041b3311fb662f476f167cf5c9f8680c607239797e26a2ee0bcc6467fbc05bfcb218e1c6c671
languageName: node
linkType: hard

Expand Down

0 comments on commit 83c4027

Please sign in to comment.