Open DblK opened 1 year ago
I had same issue and it seems reloader cannot properly import some assets.
Here is output structure:
dist/
assets/
background-page-reloader-25bf0b69.js
background/
index.js
However background/index.js
is loading assets with wrong path
// SIMPLE RELOADER IMPORT
import "./assets/background-page-reloader-25bf0b69.js"
Build tool
Rollup
Where do you see the problem?
Describe the bug
The
background.js
file is not loaded and crash oncesimpleReloader()
is added to the configuration.The error is
Service worker registration failed. Status code: 3
.So I need to go back using manual refresh.
Reproduction
The source are private but here is my
rollup
configuration.Logs
System Info
Severity
blocking all usage of RPCE