{"library":"parcel-plugin-sw-asset-urls","type":"library","category":null,"description":"The `parcel-plugin-sw-asset-urls` (version 0.1.2) is a plugin specifically designed for `parcel-bundler` (Parcel v1.x) that addresses a common issue in Progressive Web App (PWA) development. Parcel automatically generates static assets with hashed filenames for effective browser cache busting. However, in Parcel v1, it does not inherently update the `sw.js` (service worker) file with these newly hashed URLs, leading to broken asset paths in the service worker's cache manifest. This plugin integrates into the Parcel v1 build process to replace the original, unhashed asset filenames within the generated service worker script with their corresponding hashed versions in the `dist` directory. This ensures the service worker correctly identifies and caches the fingerprinted assets. The package is currently at an early version (0.1.2) and its development is tied to Parcel v1, making it incompatible with Parcel v2, which has a different plugin architecture and often handles such issues internally or with updated strategies.","language":"javascript","status":"abandoned","version":"0.1.2","tags":["javascript","parcel","parcel-bundler","parcel-plugin","service worker","pwa","asset urls","hash urls"],"install":[{"cmd":"npm install parcel-plugin-sw-asset-urls","imports":["This package is a Parcel plugin. It is automatically detected and loaded by `parcel-bundler` (Parcel v1) when installed as a development dependency. There are no explicit symbols to import into your application code."]},{"cmd":"yarn add parcel-plugin-sw-asset-urls","imports":[]},{"cmd":"pnpm add parcel-plugin-sw-asset-urls","imports":[]}],"homepage":null,"github":"https://github.com/rohith/parcel-plugin-sw-asset-urls","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/parcel-plugin-sw-asset-urls","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/parcel-plugin-sw-asset-urls/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}