【文件属性】:
文件名称:parcel-plugin-sw-cache::package::construction_worker:Parcel插件,用于使用Service Worker进行缓存
文件大小:244KB
文件格式:ZIP
更新时间:2021-05-06 16:21:41
service-worker progressive-web-app offline-first parcel precache
包裹插件,用于软件缓存
一个插件,可在每次构建后运行 build。
yarn add -D parcel-plugin-sw-cache
# or
npm install -D parcel-plugin-sw-cache
该插件是使用项目的package.json中的cache对象配置的。 ()。 插件使用的配置密钥(首先是默认选项):
{
"dependencies" : {
// ...
} ,
//...
"cache" : {
"disablePlugin" : false || true ,
"inDev" : false || true ,
"strategy" : "default" || "inject"
"clearDist" : true || fal
【文件预览】:
parcel-plugin-sw-cache-master
----.gitignore(20B)
----parcel-plugin-sw-cache()
--------package.json(590B)
--------index.js(5KB)
--------README.md(2KB)
----package.json(360B)
----.travis.yml(41B)
----LICENSE(1KB)
----README.md(32B)
----tests()
--------index.js(2KB)
--------fixtures()
----example()
--------.gitignore(35B)
--------package.json(853B)
--------src()
--------README.md(368B)
--------yarn.lock(220KB)
----yarn.lock(254KB)
网友评论
相关文章
- ember-service-worker-index:一个Ember Service Worker插件,用于缓存index.html文件
- service-composer:用于组成 Service Worker 缓存的实用程序
- portfolio:建筑:construction::building_construction::construction_worker::construction::building_construction::construction_worker:
- cordova-plugin-service-worker-push:Cordova Service Worker 的推送插件