Upgrading Webpack dev server to latest release

pull/24/head
David Négrier 1 year ago
parent bf29556623
commit cdc509265a
  1. 8107
      package-lock.json
  2. 10
      package.json
  3. 8
      webpack.config.js

8107
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -6,13 +6,13 @@
"devDependencies": {
"@workadventure/iframe-api-typings": "^1.2.1",
"eslint": "^7.24.0",
"html-webpack-plugin": "^5.3.1",
"ts-loader": "^8.1.0",
"ts-node": "^9.1.1",
"html-webpack-plugin": "^5.3.2",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.1",
"typescript": "^4.2.4",
"webpack": "^5.31.2",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.1.0",
"webpack-merge": "^5.7.3"
},
"scripts": {

@ -7,11 +7,11 @@ module.exports = {
entry: './src/index.ts',
devtool: 'inline-source-map',
devServer: {
contentBase: '.',
//host: '0.0.0.0',
host: 'localhost',
static: ['.'],
host: '0.0.0.0',
//host: 'localhost',
//sockPort: 80,
disableHostCheck: true,
allowedHosts: "all",
headers: {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, PATCH, OPTIONS",

Loading…
Cancel
Save