Skip to content

prepareTempFolder ​

Function @unplugin-pwa/core/dev/prepare-temp-folder
ts
prepareTempFolder(ctx: PWAPluginContext<any, any, any>, root: string): Promise<void>

Prepares the temp folder for the development service worker.

Parameters ​

  • ctx – The PWA plugin context.

  • root – The project root used to find the nearest package.

Released under the MIT License.