Interface: GenerateSwModeConfig
Extends
Properties
filename?
optionalfilename:string
Default Value
Inherited from
include?
optionalinclude:string[] | (assets) =>string[]
This array will be passed to workbox globPatterns. By default all assets bundled by rsbuild are included plus sw registration script and web app manifest
Examples
Inherited from
mode
mode:
"generateSw"
workboxOptions?
optionalworkboxOptions:WorkboxGenerateSWOptions