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 @@
+ + + + + + + + + +