Skip to content

Commit 32d20f0

Browse files
committed
feat: use js config file on service worker registration
1 parent 114a770 commit 32d20f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Uno.Wasm.Bootstrap/Embedded/service-worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// As of Dec 2024, Firefox does not support ES6 modules in service workers, so we need to use importScripts
22
// https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker#browser_compatibility
3-
importScripts("$(REMOTE_WEBAPP_PATH)$(REMOTE_BASE_PATH)/uno-config.js");
3+
importScripts("$(REMOTE_WEBAPP_PATH)$(REMOTE_BASE_PATH)/uno-config-script.js");
44

55
if (config.environmentVariables["UNO_BOOTSTRAP_DEBUGGER_ENABLED"] !== "True") {
66
console.debug("[ServiceWorker] Initializing");

0 commit comments

Comments
 (0)