BakedConfig
Everything the worker needs, fixed at build time.
Defined in: engine/src/pwa/vite.ts:214
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
assets | string | Prefix of hashed build assets, relative to the scope ("assets/"). | engine/src/pwa/vite.ts:222 |
build | string | Build id: names the build's cache, so each deploy gets a fresh one. | engine/src/pwa/vite.ts:218 |
file | string | The worker's own file, relative to the scope; never cached. | engine/src/pwa/vite.ts:224 |
name | string | Cache name prefix, unique per app on the origin. | engine/src/pwa/vite.ts:216 |
precache | string[] | Files to fetch on install, relative to the scope ("assets/index-abc.js", "world/index.html"). | engine/src/pwa/vite.ts:220 |
runtime | BakedRule[] | Runtime rules, first match wins. | engine/src/pwa/vite.ts:226 |