Interface: PWAPluginOptions
Properties
dev?
optionaldev:boolean
Enable with "rsbuild dev" command?
Default Value
disabled?
optionaldisabled:boolean| (ctx) =>boolean
Disable the plugin? By default the plugin is disabled if the environment is not "web"
Example
htmlTags?
optionalhtmlTags:HtmlTagsConfig
registerSw?
optionalregisterSw:false|RegisterSwConfig
false to disable
Default Value
sw?
optionalsw:ServiceWorkerConfig
webAppManifest?
optionalwebAppManifest:false|WebAppManifestConfig
false to disable