@serwist/webpack-plugin 9.0.0-preview.24 → 9.0.0-preview.25
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-manifest-entries-from-compilation.d.ts","sourceRoot":"","sources":["../../src/lib/get-manifest-entries-from-compilation.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAe,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAgB,WAAW,EAAgB,MAAM,SAAS,CAAC;AAIvE,OAAO,KAAK,EAAyB,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAoKvF,eAAO,MAAM,iCAAiC,gBAC/B,WAAW,UAChB,6BAA6B;
|
|
1
|
+
{"version":3,"file":"get-manifest-entries-from-compilation.d.ts","sourceRoot":"","sources":["../../src/lib/get-manifest-entries-from-compilation.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAe,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,KAAK,EAAgB,WAAW,EAAgB,MAAM,SAAS,CAAC;AAIvE,OAAO,KAAK,EAAyB,6BAA6B,EAAE,MAAM,YAAY,CAAC;AAoKvF,eAAO,MAAM,iCAAiC,gBAC/B,WAAW,UAChB,6BAA6B,KACpC,QAAQ;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,aAAa,EAAE,GAAG,SAAS,CAAA;CAAE,CAiCtE,CAAC"}
|
package/dist/lib/types.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ export interface InjectPartial {
|
|
|
42
42
|
compileSrc?: boolean;
|
|
43
43
|
/**
|
|
44
44
|
* Optional webpack plugins that will be used when compiling the `swSrc`
|
|
45
|
-
*
|
|
45
|
+
* file. Only valid if `compileSrc` is `true`.
|
|
46
46
|
*/
|
|
47
47
|
webpackCompilationPlugins?: any[];
|
|
48
48
|
}
|
package/dist/lib/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,aAAa,IAAI,iBAAiB,EAClC,cAAc,IAAI,kBAAkB,EACpC,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,aAAa,IAAI,iBAAiB,EAClC,cAAc,IAAI,kBAAkB,EACpC,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC;IACzD;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,CAAC,EAAE,CAAC;CAC1D;AAED,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,cAAc,EAAE,SAAS,CAAC,CAAC;AAEjE,MAAM,WAAW,aAAa;IAC5B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAIrB;;;OAGG;IACH,yBAAyB,CAAC,EAAE,GAAG,EAAE,CAAC;CACnC;AAED,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC;AAElE,MAAM,WAAW,qBAAsB,SAAQ,WAAW,EAAE,cAAc,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,aAAa;CAAG;AAEtI,MAAM,WAAW,6BAA8B,SAAQ,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,cAAc;CAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/webpack-plugin",
|
|
3
|
-
"version": "9.0.0-preview.
|
|
3
|
+
"version": "9.0.0-preview.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A plugin for your webpack build process, helping you generate a manifest of local files that should be precached.",
|
|
6
6
|
"files": [
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"author": "Google's Web DevRel Team, Serwist's Team",
|
|
24
24
|
"license": "MIT",
|
|
25
|
-
"repository": "https://
|
|
26
|
-
"bugs": "https://
|
|
25
|
+
"repository": "https://github.com/serwist/serwist",
|
|
26
|
+
"bugs": "https://github.com/serwist/serwist/issues",
|
|
27
27
|
"homepage": "https://serwist.pages.dev",
|
|
28
28
|
"main": "./dist/index.js",
|
|
29
29
|
"types": "./dist/index.d.ts",
|
|
@@ -56,16 +56,16 @@
|
|
|
56
56
|
"pretty-bytes": "6.1.1",
|
|
57
57
|
"upath": "2.0.1",
|
|
58
58
|
"zod": "3.22.4",
|
|
59
|
-
"@serwist/build": "9.0.0-preview.
|
|
59
|
+
"@serwist/build": "9.0.0-preview.25"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@types/node": "20.12.
|
|
62
|
+
"@types/node": "20.12.7",
|
|
63
63
|
"@types/webpack": "5.28.5",
|
|
64
|
-
"rollup": "4.14.
|
|
65
|
-
"typescript": "5.5.0-dev.
|
|
64
|
+
"rollup": "4.14.3",
|
|
65
|
+
"typescript": "5.5.0-dev.20240415",
|
|
66
66
|
"webpack": "5.91.0",
|
|
67
|
-
"@serwist/
|
|
68
|
-
"@serwist/utils": "9.0.0-preview.
|
|
67
|
+
"@serwist/configs": "9.0.0-preview.25",
|
|
68
|
+
"@serwist/utils": "9.0.0-preview.25"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"typescript": ">=5.0.0",
|
package/src/lib/types.ts
CHANGED
|
@@ -14,10 +14,6 @@ export interface WebpackPartial {
|
|
|
14
14
|
* in the precache manifest.
|
|
15
15
|
*/
|
|
16
16
|
chunks?: string[];
|
|
17
|
-
// We can't use the @default annotation here to assign the value via AJV, as
|
|
18
|
-
// an (RegExp)[] can't be serialized into JSON.
|
|
19
|
-
// The default value of [/\.map$/, /^manifest.*\.js$/] will be assigned by
|
|
20
|
-
// the validation function, and we need to reflect that in the docs.
|
|
21
17
|
/**
|
|
22
18
|
* One or more specifiers used to exclude assets from the precache manifest.
|
|
23
19
|
* This is interpreted following
|
|
@@ -59,7 +55,7 @@ export interface InjectPartial {
|
|
|
59
55
|
// logic and needs to be documented.
|
|
60
56
|
/**
|
|
61
57
|
* Optional webpack plugins that will be used when compiling the `swSrc`
|
|
62
|
-
*
|
|
58
|
+
* file. Only valid if `compileSrc` is `true`.
|
|
63
59
|
*/
|
|
64
60
|
webpackCompilationPlugins?: any[];
|
|
65
61
|
}
|