@docusaurus/plugin-pwa 0.0.0-4685 → 0.0.0-4693
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +2 -3
- package/package.json +8 -8
- package/src/index.ts +2 -3
package/lib/index.js
CHANGED
|
@@ -148,9 +148,8 @@ function pluginPWA(context, options) {
|
|
|
148
148
|
'**/*.{js,json,css,html}',
|
|
149
149
|
'**/*.{png,jpg,jpeg,gif,svg,ico}',
|
|
150
150
|
'**/*.{woff,woff2,eot,ttf,otf}',
|
|
151
|
-
//
|
|
152
|
-
|
|
153
|
-
...(workbox_build_1.injectManifest.globPatterns || []),
|
|
151
|
+
// @ts-expect-error: internal API?
|
|
152
|
+
...(workbox_build_1.injectManifest.globPatterns ?? []),
|
|
154
153
|
],
|
|
155
154
|
// those attributes are not overrideable
|
|
156
155
|
swDest,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-pwa",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4693",
|
|
4
4
|
"description": "Docusaurus Plugin to add PWA support.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-pwa.d.ts",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@babel/core": "^7.17.5",
|
|
24
24
|
"@babel/preset-env": "^7.16.11",
|
|
25
|
-
"@docusaurus/core": "0.0.0-
|
|
26
|
-
"@docusaurus/theme-common": "0.0.0-
|
|
27
|
-
"@docusaurus/theme-translations": "0.0.0-
|
|
28
|
-
"@docusaurus/utils": "0.0.0-
|
|
29
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
25
|
+
"@docusaurus/core": "0.0.0-4693",
|
|
26
|
+
"@docusaurus/theme-common": "0.0.0-4693",
|
|
27
|
+
"@docusaurus/theme-translations": "0.0.0-4693",
|
|
28
|
+
"@docusaurus/utils": "0.0.0-4693",
|
|
29
|
+
"@docusaurus/utils-validation": "0.0.0-4693",
|
|
30
30
|
"babel-loader": "^8.2.3",
|
|
31
31
|
"clsx": "^1.1.1",
|
|
32
32
|
"core-js": "^3.21.0",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"workbox-window": "^6.5.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
42
|
+
"@docusaurus/module-type-aliases": "0.0.0-4693",
|
|
43
43
|
"fs-extra": "^10.0.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "^16.8.4 || ^17.0.0",
|
|
47
47
|
"react-dom": "^16.8.4 || ^17.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "f5ed3eaf62d30a211da3b0aaf76dfc6deafba859"
|
|
50
50
|
}
|
package/src/index.ts
CHANGED
|
@@ -189,9 +189,8 @@ export default function pluginPWA(
|
|
|
189
189
|
'**/*.{js,json,css,html}',
|
|
190
190
|
'**/*.{png,jpg,jpeg,gif,svg,ico}',
|
|
191
191
|
'**/*.{woff,woff2,eot,ttf,otf}',
|
|
192
|
-
//
|
|
193
|
-
|
|
194
|
-
...(injectManifest.globPatterns || []),
|
|
192
|
+
// @ts-expect-error: internal API?
|
|
193
|
+
...(injectManifest.globPatterns ?? []),
|
|
195
194
|
],
|
|
196
195
|
// those attributes are not overrideable
|
|
197
196
|
swDest,
|