@serwist/webpack-plugin 8.0.0 → 8.0.2

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/dist/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  import { InjectManifest } from "./inject-manifest.js";
2
2
  export { InjectManifest };
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { ChildCompilationPlugin } from "./lib/child-compilation-plugin.js";
2
2
  export { ChildCompilationPlugin };
3
- //# sourceMappingURL=index.internal.d.ts.map
@@ -80,4 +80,3 @@ declare class InjectManifest {
80
80
  addAssets(compilation: webpack.Compilation): Promise<void>;
81
81
  }
82
82
  export { InjectManifest };
83
- //# sourceMappingURL=inject-manifest.d.ts.map
@@ -18,4 +18,3 @@ export declare class ChildCompilationPlugin implements WebpackPluginInstance {
18
18
  apply(compiler: webpack.Compiler): void;
19
19
  performChildCompilation(compilation: webpack.Compilation, parentCompiler: webpack.Compiler): Promise<void>;
20
20
  }
21
- //# sourceMappingURL=child-compilation-plugin.d.ts.map
@@ -6,4 +6,3 @@ import type { Asset } from "webpack";
6
6
  * @private
7
7
  */
8
8
  export declare function getAssetHash(asset: Asset): string | null;
9
- //# sourceMappingURL=get-asset-hash.d.ts.map
@@ -4,4 +4,3 @@ export declare function getManifestEntriesFromCompilation(compilation: Compilati
4
4
  size: number;
5
5
  sortedEntries: ManifestEntry[];
6
6
  }>;
7
- //# sourceMappingURL=get-manifest-entries-from-compilation.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { Compilation } from "webpack";
2
2
  export declare function getScriptFilesForChunks(compilation: Compilation, chunkNames: Array<string>): Array<string>;
3
- //# sourceMappingURL=get-script-files-for-chunks.d.ts.map
@@ -17,4 +17,3 @@ import type { Compilation } from "webpack";
17
17
  * @private
18
18
  */
19
19
  export declare function getSourcemapAssetName(compilation: Compilation, swContents: string, swDest: string): string | undefined;
20
- //# sourceMappingURL=get-sourcemap-asset-name.d.ts.map
@@ -9,4 +9,3 @@ import type { Compilation } from "webpack";
9
9
  * @private
10
10
  */
11
11
  export declare function relativeToOutputPath(compilation: Compilation, swDest: string): string;
12
- //# sourceMappingURL=relative-to-output-path.d.ts.map
@@ -10,4 +10,3 @@
10
10
  * @private
11
11
  */
12
12
  export declare function resolveWebpackURL(publicPath: string, ...paths: Array<string>): string;
13
- //# sourceMappingURL=resolve-webpack-url.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serwist/webpack-plugin",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
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": [
@@ -50,12 +50,10 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "fast-json-stable-stringify": "2.1.0",
53
- "picomatch": "3.0.1",
54
53
  "pretty-bytes": "6.1.1",
55
54
  "rollup": "3.28.1",
56
55
  "upath": "2.0.1",
57
- "webpack-sources": "3.2.3",
58
- "@serwist/build": "8.0.0"
56
+ "@serwist/build": "8.0.2"
59
57
  },
60
58
  "peerDependencies": {
61
59
  "webpack": "4.4.0 || ^5.9.0"
@@ -63,7 +61,7 @@
63
61
  "devDependencies": {
64
62
  "@types/node": "20.8.7",
65
63
  "@types/webpack": "5.28.3",
66
- "@serwist/constants": "8.0.0"
64
+ "@serwist/constants": "8.0.2"
67
65
  },
68
66
  "scripts": {
69
67
  "build": "rimraf dist && cross-env NODE_ENV=production rollup --config rollup.config.js",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.internal.d.ts","sourceRoot":"","sources":["../src/index.internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAs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{"version":3,"file":"child-compilation-plugin.d.ts","sourceRoot":"","sources":["../../src/lib/child-compilation-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,OAAO,MAAM,SAAS,CAAC;AAI9B,MAAM,WAAW,6BAA6B;IAC5C,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAC;CACnC;AAED;;;;GAIG;AACH,qBAAa,sBAAuB,YAAW,qBAAqB;IAClE,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,qBAAqB,EAAE,GAAG,SAAS,CAAC;gBACjC,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,6BAA6B;IAKjE,KAAK,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ;IAO1B,uBAAuB,CAAC,WAAW,EAAE,OAAO,CAAC,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAiCjH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-asset-hash.d.ts","sourceRoot":"","sources":["../../src/lib/get-asset-hash.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CASxD"}
@@ -1 +0,0 @@
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,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAE/F,OAAO,KAAK,EAAgB,WAAW,EAAgB,MAAM,SAAS,CAAC;AA6KvE,wBAAsB,iCAAiC,CACrD,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,4BAA4B,GACnC,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,aAAa,EAAE,CAAA;CAAE,CAAC,CAgC3D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-script-files-for-chunks.d.ts","sourceRoot":"","sources":["../../src/lib/get-script-files-for-chunks.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAgB,MAAM,SAAS,CAAC;AAIzD,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CA0B1G"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-sourcemap-asset-name.d.ts","sourceRoot":"","sources":["../../src/lib/get-sourcemap-asset-name.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAiBtH"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"relative-to-output-path.d.ts","sourceRoot":"","sources":["../../src/lib/relative-to-output-path.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAQrF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-webpack-url.d.ts","sourceRoot":"","sources":["../../src/lib/resolve-webpack-url.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAQrF"}