-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
STATUS-1: needs triageNew issue which needs to be triagedNew issue which needs to be triagedTYPE: bugSomething isn't workingSomething isn't working
Description
Which component is affected?
Qwik City (routing)
Describe the bug
a module import issue:
Uncaught SyntaxError: Cannot use import statement outside a module (at service-worker.js:1:1)
import{openDB as t}from"./index3.js";self.addEventListener("install",()=>self.skipWaiting());self.addEventListener("activate",e=>{e.waitUntil(t("test",1).then(()=>console.log("DB opened")))});
we need to fix qwik bundler to inline imported module
Reproduction
https://github.com/makinghappen/qwik-sw-test
Steps to reproduce
No response
System Info
qwik 1.17.0Additional Information
No response
Metadata
Metadata
Assignees
Labels
STATUS-1: needs triageNew issue which needs to be triagedNew issue which needs to be triagedTYPE: bugSomething isn't workingSomething isn't working