summaryrefslogtreecommitdiffstats
path: root/platform/javascript/js/engine/config.js
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-02-07 13:21:53 +0100
committerGitHub <noreply@github.com>2022-02-07 13:21:53 +0100
commit6a33d8b93fc7175865a9c064c6ba4bf400c9650d (patch)
tree53f7fc778fdc8080a9b7b59fc6f47c07f6a585c5 /platform/javascript/js/engine/config.js
parent88aea70a098d91f1887e7c4e3218ce23c42e3b4f (diff)
parent948e66c3d6930924b54ec48a0dfc929040befb0a (diff)
downloadredot-engine-6a33d8b93fc7175865a9c064c6ba4bf400c9650d.tar.gz
Merge pull request #57718 from Faless/js/4.x_pwa_prefer_cache_pr
Diffstat (limited to 'platform/javascript/js/engine/config.js')
-rw-r--r--platform/javascript/js/engine/config.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/javascript/js/engine/config.js b/platform/javascript/js/engine/config.js
index a6f9c4614c..2e5e1ed0d1 100644
--- a/platform/javascript/js/engine/config.js
+++ b/platform/javascript/js/engine/config.js
@@ -107,6 +107,13 @@ const InternalConfig = function (initConfig) { // eslint-disable-line no-unused-
*/
experimentalVK: false,
/**
+ * The progressive web app service worker to install.
+ * @memberof EngineConfig
+ * @default
+ * @type {string}
+ */
+ serviceWorker: '',
+ /**
* @ignore
* @type {Array.<string>}
*/
@@ -249,6 +256,7 @@ const InternalConfig = function (initConfig) { // eslint-disable-line no-unused-
this.persistentDrops = parse('persistentDrops', this.persistentDrops);
this.experimentalVK = parse('experimentalVK', this.experimentalVK);
this.focusCanvas = parse('focusCanvas', this.focusCanvas);
+ this.serviceWorker = parse('serviceWorker', this.serviceWorker);
this.gdnativeLibs = parse('gdnativeLibs', this.gdnativeLibs);
this.fileSizes = parse('fileSizes', this.fileSizes);
this.args = parse('args', this.args);