Mise à jour de webpack + cli + server et adaptation package.json

This commit is contained in:
Fabrice PENHOËT 2021-09-03 10:57:01 +02:00
parent cbafa04d8e
commit 93938aea1e
3 changed files with 133 additions and 1325 deletions

1453
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,7 @@
"license": "GPL-3.0-or-later",
"devDependencies": {
"@types/jasmine": "^3.9.0",
"@webpack-cli/serve": "^1.5.2",
"jasmine": "^3.9.0",
"karma": "^6.3.4",
"karma-chrome-launcher": "^3.1.0",
@ -33,7 +34,7 @@
"ts-loader": "^8.3.0",
"typescript": "^4.4.2",
"webpack": "^5.51.2",
"webpack-cli": "^3.3.12",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^4.1.0"
},
"dependencies": {

View File

@ -27,6 +27,6 @@ module.exports =
],
},
devServer: {
contentBase: path.join(__dirname, "public")
static: path.join(__dirname, "public")
},
};