@barbuza/vite-plugin-service-worker
v0.1.1
Published
add to vite:
Downloads
5
Readme
@barbuza/vite-plugin-service-worker
add to vite:
import { serviceWorkerPlugin } from "@barbuza/vite-plugin-service-worker";
defineConfig({
plugins: [
serviceWorkerPlugin()
]
})
import service worker url
import workerUrl from "./worker?service-worker";