English
WorkboxBuildConfiguration
Interface @vite-pwa/workbox-build/configProperties
| Property | Type | Default | Description |
|---|---|---|---|
buildSW | Partial<BuildSWOptions<T>> | ||
cwd? | string | process.cwd() | Current working directory to load external configuration options. |
generateSW | Partial<GenerateSWOptions<T>> | ||
injectManifest | Partial<InjectManifestStrategyOptions> | ||
mergeOptions? | boolean | false | When path is specified, should merge inlined options and the configuration?NOTE: inlined options will override external configuration options. |
path? | string | path to load external configuration options:- can be an absolute path - can be a relative path, which will be resolved relative to cwd (or process.cwd() if cwd is not specified) | |
selfDestroying? | SelfDestroyingOptions | ||
strategy | S |