Commit 427e144
committed
fix: use self.__WB_MANIFEST literal in sw.js for workbox-build injectManifest
workbox-build does a text search for the exact string 'self.__WB_MANIFEST'
in the service worker source. Using it via an alias (sw.__WB_MANIFEST where
const sw = self) is not matched, causing the Docker build to fail with:
'Unable to find a place to inject the manifest.'
Fixes the Docker Publish GitHub Actions workflow failure.1 parent d707a1a commit 427e144
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments