Merge pull request #602 from LiveSplit/dependabot/npm_and_yarn/webpack-dev-server-4.1.0

Bump webpack-dev-server from 3.11.2 to 4.1.0
This commit is contained in:
wooferzfg
2021-09-02 22:13:03 -04:00
committed by GitHub
4 changed files with 444 additions and 1834 deletions
+438 -1829
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -9,7 +9,7 @@
"lint": "tslint --project tsconfig.json",
"publish": "webpack --mode production",
"serve": "webpack serve",
"start": "webpack --open",
"start": "webpack serve --open",
"start:electron": "webpack --electron && electron dist/index.html",
"test": "mocha --exit test/**/*.js"
},
@@ -69,7 +69,7 @@
"url-loader": "^4.1.1",
"webpack": "^5.51.2",
"webpack-cli": "^4.8.0",
"webpack-dev-server": "^3.11.2",
"webpack-dev-server": "^4.1.0",
"workbox-webpack-plugin": "^6.1.5"
}
}
+1 -1
View File
@@ -27,7 +27,7 @@ describe("Layout Rendering Tests", function () {
return new Promise((resolve) => {
serverProcess = fork("./node_modules/webpack/bin/webpack.js", ["serve"], { silent: true });
serverProcess.stdout.on("data", (data) => {
if (data.toString().includes("Compiled successfully.")) {
if (data.toString().includes(" compiled ")) {
resolve();
}
});
+3 -2
View File
@@ -58,8 +58,9 @@ module.exports = async (env, argv) => {
devtool: isProduction ? undefined : "source-map",
devServer: {
contentBase: basePath,
compress: true,
static: {
directory: path.join(basePath, "src"),
},
port: 8080,
},