From cfee4c925a43a5792ac5854235e0410fa9cea060 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 1 Oct 2020 14:05:07 +0100 Subject: [PATCH] Revert "Attempt to fix tests some more" This reverts commit c76a5f2c Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- package.json | 3 +- res/sw.js | 1 + scripts/copy-res.js | 1 + src/vector/index.html | 10 + src/vector/index.ts | 2 +- webpack.config.js | 20 +- yarn.lock | 1336 ++--------------------------------------- 7 files changed, 67 insertions(+), 1306 deletions(-) create mode 100644 res/sw.js diff --git a/package.json b/package.json index 59d998d90f..936116180c 100644 --- a/package.json +++ b/package.json @@ -143,8 +143,7 @@ "typescript": "^3.7.3", "webpack": "^4.41.2", "webpack-cli": "^3.3.10", - "webpack-dev-server": "^3.9.0", - "workbox-webpack-plugin": "^5.1.4" + "webpack-dev-server": "^3.9.0" }, "jest": { "testEnvironment": "jest-environment-jsdom-fourteen", diff --git a/res/sw.js b/res/sw.js new file mode 100644 index 0000000000..dfe665a16f --- /dev/null +++ b/res/sw.js @@ -0,0 +1 @@ +self.addEventListener('fetch', () => {}); diff --git a/scripts/copy-res.js b/scripts/copy-res.js index 6c55f3d5dd..ebe1c625ea 100755 --- a/scripts/copy-res.js +++ b/scripts/copy-res.js @@ -61,6 +61,7 @@ const INCLUDE_LANGS = [ // "dest/b/...". const COPY_LIST = [ ["res/manifest.json", "webapp"], + ["res/sw.js", "webapp"], ["res/welcome.html", "webapp"], ["res/welcome/**", "webapp/welcome"], ["res/themes/**", "webapp/themes"], diff --git a/src/vector/index.html b/src/vector/index.html index 3ddc8482fb..4cda4b37a5 100644 --- a/src/vector/index.html +++ b/src/vector/index.html @@ -55,6 +55,16 @@
+ + + + + + + + + +