vite-plugin-pwa
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -12,3 +12,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// src/transformers/html.ts | ||
window.addEventListener('load', () => { | ||
navigator.serviceWorker.register('sw.js', { scope: './' }) | ||
navigator.serviceWorker.register('/sw.js', { scope: './' }) | ||
}) | ||
@@ -15,0 +15,0 @@ } |
{ | ||
"name": "vite-plugin-pwa", | ||
"description": "Zero-config PWA for Vite", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"main": "dist/index.js", | ||
@@ -22,3 +22,3 @@ "module": "dist/index.mjs", | ||
"build": "tsup src/index.ts --dts --format cjs,esm", | ||
"prepublish": "npm run build", | ||
"prepublishOnly": "npm run build", | ||
"release": "npx bumpp --push --tag --commit && npm publish" | ||
@@ -25,0 +25,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9129