Skip to content

@vite-pwa/workbox-build ​

Package

Declaration: @vite-pwa/workbox-build

Function Summary ​

NameDescription
generateClassicSW
generateModernSW
generateSW
getManifest
injectManifest
selfDestroyingSW

Interface Summary ​

TypeDescription
BasePartial
GeneratePartial
GetManifestResult
GlobPartial
InjectPartial
ManifestEntry
ManifestTransformResult
OptionalGlobDirectoryPartial
RequiredGlobDirectoryPartial
RequiredSWDestPartial
RuntimeCaching
SelfDestroyingOptions

Type Alias Summary ​

NameDescription
BuildResult
GenerateSWOptions
GetManifestOptions
InjectManifestOptions
ManifestTransform
StrategyName
SWTarget Service worker build targets: - when building the classic service worker, the default target will be ['chrome56', 'safari11', 'firefox60']. - when building the module service worker, the default target will be baseline-widely-available.
SWTargets Service worker build target.
SWType

Released under the MIT License.