Commit f112b95
committed
feat(runtime): add main-thread boot script with SW registration
- Register rawscript-sw.js as a module-type Service Worker
- Auto-reload page on first SW activation for fetch interception
- Guard registration behind serviceWorker feature detection
- Mark SW path as configurable for v0.9.0 (data-sw-path attr)1 parent ce743ac commit f112b95
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments