voxolith

BakedConfig

Everything the worker needs, fixed at build time.

Defined in: engine/src/pwa/vite.ts:214

Properties

PropertyTypeDescriptionDefined in
assetsstringPrefix of hashed build assets, relative to the scope ("assets/").engine/src/pwa/vite.ts:222
buildstringBuild id: names the build's cache, so each deploy gets a fresh one.engine/src/pwa/vite.ts:218
filestringThe worker's own file, relative to the scope; never cached.engine/src/pwa/vite.ts:224
namestringCache name prefix, unique per app on the origin.engine/src/pwa/vite.ts:216
precachestring[]Files to fetch on install, relative to the scope ("assets/index-abc.js", "world/index.html").engine/src/pwa/vite.ts:220
runtimeBakedRule[]Runtime rules, first match wins.engine/src/pwa/vite.ts:226

On this page