Virtual modules
With a little help of rspack's VirtualModulesPlugin you can import the SW registration script directly into your code. Several major frameworks are supported:
With a little help of rspack's VirtualModulesPlugin you can import the SW registration script directly into your code. Several major frameworks are supported: