chore: update readme & package exports
This commit is contained in:
parent
373145a9ed
commit
d5748f30bd
2 changed files with 6 additions and 2 deletions
|
@ -4,10 +4,9 @@
|
|||
|
||||
[](https://www.npmjs.com/package/@ayco/astro-sw)
|
||||
[](https://www.npmjs.com/package/@ayco/astro-sw)
|
||||
[](https://www.npmjs.com/package/@ayco/astro-sw)
|
||||
[](#library-size)
|
||||
|
||||
The integration `serviceWorker` accepts configuration with service worker path and automatically injects needed dynamic variables such as `assets` generated by Astro for caching
|
||||
The integration accepts service worker path and automatically injects dynamic variables such as `assets` generated by Astro for caching.
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
"type": "git",
|
||||
"url": "https://github.com/ayoayco/astro-sw"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"main": "index.js",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
|
|
Loading…
Reference in a new issue