Skip to content

normalizeManifest ​

Function @unplugin-pwa/core/helpers
ts
normalizeManifest(ctx: PWAPluginContext<any, any, any>): void

Loads the default manifest and normalizes the manifest icons' purpose and scope_extensions.

NOTE: this function calls prepareManifest to load the default manifest.

Parameters ​

  • ctx – The resolved Vite PWA plugin context

Released under the MIT License.