Webpack fixes

This commit is contained in:
2021-01-30 13:17:46 +02:00
parent 1f6740c9df
commit bed31b29ff
7 changed files with 215 additions and 691 deletions

View File

@@ -5,7 +5,8 @@
"main": "dist/app.js",
"scripts": {
"tsc": "tsc -w",
"build": "webpack"
"build": "webpack",
"start": "webpack serve --watch"
},
"repository": {
"type": "git",
@@ -23,9 +24,7 @@
"express": "^4.17.1",
"p5": "^1.2.0",
"socket.io": "^3.1.0",
"socket.io-client": "^3.1.0"
},
"devDependencies": {
"socket.io-client": "^3.1.0",
"@types/express": "^4.17.11",
"@types/p5": "^0.9.1",
"@types/socket.io": "^2.1.13",
@@ -34,5 +33,6 @@
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0",
"webpack-dev-server": "^3.11.2"
}
},
"devDependencies": {}
}