From f42e0123723d295c36f2893d7a13a886d0172e94 Mon Sep 17 00:00:00 2001 From: LingyuCoder Date: Mon, 6 May 2024 19:45:19 +0800 Subject: [PATCH] fix: consistent localNameIdent hash result with webpack --- ...e0f088$.css => async.$048dd0ea10a262087819$.css} | 0 ...5e0f088$.css => main.$048dd0ea10a262087819$.css} | 0 .../cases/chunkFilename-fullhash/expected/main.js | 2 +- ...> one_js.$2faf8431c36246aaa99efe65186ef7b1$.css} | 0 ...> two_js.$108a632b35566ba6e10f21437dc1e449$.css} | 0 ... => main.$2948667d05523e0bdd4b433a8b432330$.css} | 0 ...> entryA.$63eb4b2b7412624c84340d8ef2383cb3$.css} | 0 ...> entryB.$7dc4057bc127528eb3d6e30affb70fc5$.css} | 0 ...> 1.main.$fcf981e297c26c27907740d422c8fbb8$.css} | 0 ...> 2.main.$a033229f200a2cfbacbc9213dd60155a$.css} | 0 .../expected/main.css.map | 2 +- .../cases/devtool-source-map/expected/main.css.map | 2 +- ... style.$2ebc9424ae217f7031ea75743effd066$.2.css} | 0 ... style.$fc35cd7d3442366ea0e20c936c0d399c$.1.css} | 0 ...b9cb62e55bcbc35.png => 4d3b8fdfbe46b279f223.png} | Bin .../css-extract/cases/new-url/expected/main.css | 2 +- .../expected/main.css.map | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-absolute-url-1/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-absolute-url-3/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-absolute-url-4/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-absolute-url-5/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-absolute-url-6/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../cases/publicpath-absolute-url/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../cases/publicpath-default-auto/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../cases/publicpath-empty-string/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../expected/nested/again/style.css | 2 +- .../publicpath-function/expected/nested/style.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../cases/publicpath-loader-auto/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-path-relative-1/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-path-relative-2/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-path-relative-3/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-path-relative-4/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-path-relative-5/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-path-relative-6/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-path-relative-7/expected/main.css | 2 +- ...1364604d5319600.svg => 2b438a6f1910279f8b62.svg} | 0 .../publicpath-path-relative/expected/main.css | 2 +- 56 files changed, 24 insertions(+), 24 deletions(-) rename plugin-test/css-extract/cases/chunkFilename-fullhash/expected/{async.$a86b1707b4af75e0f088$.css => async.$048dd0ea10a262087819$.css} (100%) rename plugin-test/css-extract/cases/chunkFilename-fullhash/expected/{main.$a86b1707b4af75e0f088$.css => main.$048dd0ea10a262087819$.css} (100%) rename plugin-test/css-extract/cases/content-entries-with-same-import/expected/{one_js.$34ea7e852b73f29ba7a5b065d4eec971$.css => one_js.$2faf8431c36246aaa99efe65186ef7b1$.css} (100%) rename plugin-test/css-extract/cases/content-entries-with-same-import/expected/{two_js.$1286cc6ec04dae701cfb317f9b9aa178$.css => two_js.$108a632b35566ba6e10f21437dc1e449$.css} (100%) rename plugin-test/css-extract/cases/contenthash-1/expected/{main.$e29a42ed09bda57bc430ed9ccfa30f63$.css => main.$2948667d05523e0bdd4b433a8b432330$.css} (100%) rename plugin-test/css-extract/cases/contenthash-multiple-entries/expected/{entryA.$7102da6560e321434f72cdf38a5f9e22$.css => entryA.$63eb4b2b7412624c84340d8ef2383cb3$.css} (100%) rename plugin-test/css-extract/cases/contenthash-multiple-entries/expected/{entryB.$ea9aedf549e60226448ece39da68f162$.css => entryB.$7dc4057bc127528eb3d6e30affb70fc5$.css} (100%) rename plugin-test/css-extract/cases/contenthash/expected/{1.main.$b8738e31859438bcaaf82f0e18ccb8e1$.css => 1.main.$fcf981e297c26c27907740d422c8fbb8$.css} (100%) rename plugin-test/css-extract/cases/contenthash/expected/{2.main.$22a4c275951727d855be6683d3f1b3b7$.css => 2.main.$a033229f200a2cfbacbc9213dd60155a$.css} (100%) rename plugin-test/css-extract/cases/js-hash/expected/{style.$8962f7751ac742a81f8cd8ef907bc50a$.2.css => style.$2ebc9424ae217f7031ea75743effd066$.2.css} (100%) rename plugin-test/css-extract/cases/js-hash/expected/{style.$59392d4d94762f990e9ea8dfa94f9c34$.1.css => style.$fc35cd7d3442366ea0e20c936c0d399c$.1.css} (100%) rename plugin-test/css-extract/cases/new-url/expected/{ebb93b9cb62e55bcbc35.png => 4d3b8fdfbe46b279f223.png} (100%) rename plugin-test/css-extract/cases/publicpath-absolute-url-1/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-absolute-url-2/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-absolute-url-3/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-absolute-url-4/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-absolute-url-5/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-absolute-url-6/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-absolute-url/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-default-auto/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-empty-string/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-function-2/expected/webpack-5/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-function/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-loader-auto/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-path-relative-1/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-path-relative-2/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-path-relative-3/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-path-relative-4/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-path-relative-5/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-path-relative-6/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-path-relative-7/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) rename plugin-test/css-extract/cases/publicpath-path-relative/expected/{61dc21364604d5319600.svg => 2b438a6f1910279f8b62.svg} (100%) diff --git a/plugin-test/css-extract/cases/chunkFilename-fullhash/expected/async.$a86b1707b4af75e0f088$.css b/plugin-test/css-extract/cases/chunkFilename-fullhash/expected/async.$048dd0ea10a262087819$.css similarity index 100% rename from plugin-test/css-extract/cases/chunkFilename-fullhash/expected/async.$a86b1707b4af75e0f088$.css rename to plugin-test/css-extract/cases/chunkFilename-fullhash/expected/async.$048dd0ea10a262087819$.css diff --git a/plugin-test/css-extract/cases/chunkFilename-fullhash/expected/main.$a86b1707b4af75e0f088$.css b/plugin-test/css-extract/cases/chunkFilename-fullhash/expected/main.$048dd0ea10a262087819$.css similarity index 100% rename from plugin-test/css-extract/cases/chunkFilename-fullhash/expected/main.$a86b1707b4af75e0f088$.css rename to plugin-test/css-extract/cases/chunkFilename-fullhash/expected/main.$048dd0ea10a262087819$.css diff --git a/plugin-test/css-extract/cases/chunkFilename-fullhash/expected/main.js b/plugin-test/css-extract/cases/chunkFilename-fullhash/expected/main.js index a59b5770bffa..cb12f77f8ffe 100644 --- a/plugin-test/css-extract/cases/chunkFilename-fullhash/expected/main.js +++ b/plugin-test/css-extract/cases/chunkFilename-fullhash/expected/main.js @@ -75,7 +75,7 @@ __webpack_require__.e = function (chunkId) { // webpack/runtime/get_full_hash !function() { __webpack_require__.h = function () { - return "a86b1707b4af75e0f088"; + return "048dd0ea10a262087819"; }; }(); diff --git a/plugin-test/css-extract/cases/content-entries-with-same-import/expected/one_js.$34ea7e852b73f29ba7a5b065d4eec971$.css b/plugin-test/css-extract/cases/content-entries-with-same-import/expected/one_js.$2faf8431c36246aaa99efe65186ef7b1$.css similarity index 100% rename from plugin-test/css-extract/cases/content-entries-with-same-import/expected/one_js.$34ea7e852b73f29ba7a5b065d4eec971$.css rename to plugin-test/css-extract/cases/content-entries-with-same-import/expected/one_js.$2faf8431c36246aaa99efe65186ef7b1$.css diff --git a/plugin-test/css-extract/cases/content-entries-with-same-import/expected/two_js.$1286cc6ec04dae701cfb317f9b9aa178$.css b/plugin-test/css-extract/cases/content-entries-with-same-import/expected/two_js.$108a632b35566ba6e10f21437dc1e449$.css similarity index 100% rename from plugin-test/css-extract/cases/content-entries-with-same-import/expected/two_js.$1286cc6ec04dae701cfb317f9b9aa178$.css rename to plugin-test/css-extract/cases/content-entries-with-same-import/expected/two_js.$108a632b35566ba6e10f21437dc1e449$.css diff --git a/plugin-test/css-extract/cases/contenthash-1/expected/main.$e29a42ed09bda57bc430ed9ccfa30f63$.css b/plugin-test/css-extract/cases/contenthash-1/expected/main.$2948667d05523e0bdd4b433a8b432330$.css similarity index 100% rename from plugin-test/css-extract/cases/contenthash-1/expected/main.$e29a42ed09bda57bc430ed9ccfa30f63$.css rename to plugin-test/css-extract/cases/contenthash-1/expected/main.$2948667d05523e0bdd4b433a8b432330$.css diff --git a/plugin-test/css-extract/cases/contenthash-multiple-entries/expected/entryA.$7102da6560e321434f72cdf38a5f9e22$.css b/plugin-test/css-extract/cases/contenthash-multiple-entries/expected/entryA.$63eb4b2b7412624c84340d8ef2383cb3$.css similarity index 100% rename from plugin-test/css-extract/cases/contenthash-multiple-entries/expected/entryA.$7102da6560e321434f72cdf38a5f9e22$.css rename to plugin-test/css-extract/cases/contenthash-multiple-entries/expected/entryA.$63eb4b2b7412624c84340d8ef2383cb3$.css diff --git a/plugin-test/css-extract/cases/contenthash-multiple-entries/expected/entryB.$ea9aedf549e60226448ece39da68f162$.css b/plugin-test/css-extract/cases/contenthash-multiple-entries/expected/entryB.$7dc4057bc127528eb3d6e30affb70fc5$.css similarity index 100% rename from plugin-test/css-extract/cases/contenthash-multiple-entries/expected/entryB.$ea9aedf549e60226448ece39da68f162$.css rename to plugin-test/css-extract/cases/contenthash-multiple-entries/expected/entryB.$7dc4057bc127528eb3d6e30affb70fc5$.css diff --git a/plugin-test/css-extract/cases/contenthash/expected/1.main.$b8738e31859438bcaaf82f0e18ccb8e1$.css b/plugin-test/css-extract/cases/contenthash/expected/1.main.$fcf981e297c26c27907740d422c8fbb8$.css similarity index 100% rename from plugin-test/css-extract/cases/contenthash/expected/1.main.$b8738e31859438bcaaf82f0e18ccb8e1$.css rename to plugin-test/css-extract/cases/contenthash/expected/1.main.$fcf981e297c26c27907740d422c8fbb8$.css diff --git a/plugin-test/css-extract/cases/contenthash/expected/2.main.$22a4c275951727d855be6683d3f1b3b7$.css b/plugin-test/css-extract/cases/contenthash/expected/2.main.$a033229f200a2cfbacbc9213dd60155a$.css similarity index 100% rename from plugin-test/css-extract/cases/contenthash/expected/2.main.$22a4c275951727d855be6683d3f1b3b7$.css rename to plugin-test/css-extract/cases/contenthash/expected/2.main.$a033229f200a2cfbacbc9213dd60155a$.css diff --git a/plugin-test/css-extract/cases/devtool-source-map-from-loaders/expected/main.css.map b/plugin-test/css-extract/cases/devtool-source-map-from-loaders/expected/main.css.map index 751d41cb6863..3eb623ccfa8f 100644 --- a/plugin-test/css-extract/cases/devtool-source-map-from-loaders/expected/main.css.map +++ b/plugin-test/css-extract/cases/devtool-source-map-from-loaders/expected/main.css.map @@ -1 +1 @@ -{"version":3,"file":"main.css","sources":["webpack:///./style.css?aeac"],"sourcesContent":["body {\n background: red;\n}\n"],"names":[],"mappings":"AAAA;EACE,eAAe;AACjB"} \ No newline at end of file +{"version":3,"file":"main.css","sources":["webpack:///./style.css?86c4"],"sourcesContent":["body {\n background: red;\n}\n"],"names":[],"mappings":"AAAA;EACE,eAAe;AACjB"} \ No newline at end of file diff --git a/plugin-test/css-extract/cases/devtool-source-map/expected/main.css.map b/plugin-test/css-extract/cases/devtool-source-map/expected/main.css.map index 751d41cb6863..3eb623ccfa8f 100644 --- a/plugin-test/css-extract/cases/devtool-source-map/expected/main.css.map +++ b/plugin-test/css-extract/cases/devtool-source-map/expected/main.css.map @@ -1 +1 @@ -{"version":3,"file":"main.css","sources":["webpack:///./style.css?aeac"],"sourcesContent":["body {\n background: red;\n}\n"],"names":[],"mappings":"AAAA;EACE,eAAe;AACjB"} \ No newline at end of file +{"version":3,"file":"main.css","sources":["webpack:///./style.css?86c4"],"sourcesContent":["body {\n background: red;\n}\n"],"names":[],"mappings":"AAAA;EACE,eAAe;AACjB"} \ No newline at end of file diff --git a/plugin-test/css-extract/cases/js-hash/expected/style.$8962f7751ac742a81f8cd8ef907bc50a$.2.css b/plugin-test/css-extract/cases/js-hash/expected/style.$2ebc9424ae217f7031ea75743effd066$.2.css similarity index 100% rename from plugin-test/css-extract/cases/js-hash/expected/style.$8962f7751ac742a81f8cd8ef907bc50a$.2.css rename to plugin-test/css-extract/cases/js-hash/expected/style.$2ebc9424ae217f7031ea75743effd066$.2.css diff --git a/plugin-test/css-extract/cases/js-hash/expected/style.$59392d4d94762f990e9ea8dfa94f9c34$.1.css b/plugin-test/css-extract/cases/js-hash/expected/style.$fc35cd7d3442366ea0e20c936c0d399c$.1.css similarity index 100% rename from plugin-test/css-extract/cases/js-hash/expected/style.$59392d4d94762f990e9ea8dfa94f9c34$.1.css rename to plugin-test/css-extract/cases/js-hash/expected/style.$fc35cd7d3442366ea0e20c936c0d399c$.1.css diff --git a/plugin-test/css-extract/cases/new-url/expected/ebb93b9cb62e55bcbc35.png b/plugin-test/css-extract/cases/new-url/expected/4d3b8fdfbe46b279f223.png similarity index 100% rename from plugin-test/css-extract/cases/new-url/expected/ebb93b9cb62e55bcbc35.png rename to plugin-test/css-extract/cases/new-url/expected/4d3b8fdfbe46b279f223.png diff --git a/plugin-test/css-extract/cases/new-url/expected/main.css b/plugin-test/css-extract/cases/new-url/expected/main.css index 5a16d881ed1f..ef2c3cf185c8 100644 --- a/plugin-test/css-extract/cases/new-url/expected/main.css +++ b/plugin-test/css-extract/cases/new-url/expected/main.css @@ -3,6 +3,6 @@ body { } a { - background: url(ebb93b9cb62e55bcbc35.png); + background: url(4d3b8fdfbe46b279f223.png); } diff --git a/plugin-test/css-extract/cases/pathinfo-devtool-source-map/expected/main.css.map b/plugin-test/css-extract/cases/pathinfo-devtool-source-map/expected/main.css.map index d5dbd672e73c..d3c9dd3454e1 100644 --- a/plugin-test/css-extract/cases/pathinfo-devtool-source-map/expected/main.css.map +++ b/plugin-test/css-extract/cases/pathinfo-devtool-source-map/expected/main.css.map @@ -1 +1 @@ -{"version":3,"file":"main.css","sources":["webpack:///./style.css?aeac","webpack:///./other.css?5f00","webpack:///./extra.css?e36a"],"sourcesContent":["body {\n background: red;\n}\n","body {\n background: blue;\n}\n","body {\n background: yellow;\n}\n"],"names":[],"mappings":";;;AAAA;EACE,eAAe;AACjB;;;;;ACFA;EACE,gBAAgB;AAClB;;;;;ACFA;EACE,kBAAkB;AACpB"} \ No newline at end of file +{"version":3,"file":"main.css","sources":["webpack:///./style.css?86c4","webpack:///./other.css?264c","webpack:///./extra.css?9c40"],"sourcesContent":["body {\n background: red;\n}\n","body {\n background: blue;\n}\n","body {\n background: yellow;\n}\n"],"names":[],"mappings":";;;AAAA;EACE,eAAe;AACjB;;;;;ACFA;EACE,gBAAgB;AAClB;;;;;ACFA;EACE,kBAAkB;AACpB"} \ No newline at end of file diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-1/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-absolute-url-1/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-absolute-url-1/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-absolute-url-1/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-1/expected/main.css b/plugin-test/css-extract/cases/publicpath-absolute-url-1/expected/main.css index f4204456377a..f98bd63026c4 100644 --- a/plugin-test/css-extract/cases/publicpath-absolute-url-1/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-absolute-url-1/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(https://webpack.js.org/foo/61dc21364604d5319600.svg); + background-image: url(https://webpack.js.org/foo/2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-2/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-absolute-url-2/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-absolute-url-2/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-absolute-url-2/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-3/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-absolute-url-3/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-absolute-url-3/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-absolute-url-3/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-3/expected/main.css b/plugin-test/css-extract/cases/publicpath-absolute-url-3/expected/main.css index e12b7aadf2a9..d511b18bdbce 100644 --- a/plugin-test/css-extract/cases/publicpath-absolute-url-3/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-absolute-url-3/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(https://webpack.js.org./61dc21364604d5319600.svg); + background-image: url(https://webpack.js.org./2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-4/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-absolute-url-4/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-absolute-url-4/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-absolute-url-4/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-4/expected/main.css b/plugin-test/css-extract/cases/publicpath-absolute-url-4/expected/main.css index c69bae0cdbfd..2d9f549df70e 100644 --- a/plugin-test/css-extract/cases/publicpath-absolute-url-4/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-absolute-url-4/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(https://webpack.js.org../61dc21364604d5319600.svg); + background-image: url(https://webpack.js.org../2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-5/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-absolute-url-5/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-absolute-url-5/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-absolute-url-5/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-5/expected/main.css b/plugin-test/css-extract/cases/publicpath-absolute-url-5/expected/main.css index c3d161fae446..d7f2a7b5c3d6 100644 --- a/plugin-test/css-extract/cases/publicpath-absolute-url-5/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-absolute-url-5/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(/61dc21364604d5319600.svg); + background-image: url(/2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-6/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-absolute-url-6/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-absolute-url-6/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-absolute-url-6/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url-6/expected/main.css b/plugin-test/css-extract/cases/publicpath-absolute-url-6/expected/main.css index 749772d29aeb..66ce7f20c9d5 100644 --- a/plugin-test/css-extract/cases/publicpath-absolute-url-6/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-absolute-url-6/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(//cdn.example.com/assets/61dc21364604d5319600.svg); + background-image: url(//cdn.example.com/assets/2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-absolute-url/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-absolute-url/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-absolute-url/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-absolute-url/expected/main.css b/plugin-test/css-extract/cases/publicpath-absolute-url/expected/main.css index d83d1fad3cba..d1bc8b5efdcb 100644 --- a/plugin-test/css-extract/cases/publicpath-absolute-url/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-absolute-url/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(https://webpack.js.org/61dc21364604d5319600.svg); + background-image: url(https://webpack.js.org/2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-default-auto/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-default-auto/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-default-auto/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-default-auto/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-default-auto/expected/main.css b/plugin-test/css-extract/cases/publicpath-default-auto/expected/main.css index e1334d2985ae..afa9a79cec01 100644 --- a/plugin-test/css-extract/cases/publicpath-default-auto/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-default-auto/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(61dc21364604d5319600.svg); + background-image: url(2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-empty-string/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-empty-string/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-empty-string/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-empty-string/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-empty-string/expected/main.css b/plugin-test/css-extract/cases/publicpath-empty-string/expected/main.css index e1334d2985ae..afa9a79cec01 100644 --- a/plugin-test/css-extract/cases/publicpath-empty-string/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-empty-string/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(61dc21364604d5319600.svg); + background-image: url(2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-function-2/expected/webpack-5/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-function-2/expected/webpack-5/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-function-2/expected/webpack-5/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-function-2/expected/webpack-5/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-function/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-function/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-function/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-function/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-function/expected/nested/again/style.css b/plugin-test/css-extract/cases/publicpath-function/expected/nested/again/style.css index 1eeff1f96caf..0b24d61dbbd9 100644 --- a/plugin-test/css-extract/cases/publicpath-function/expected/nested/again/style.css +++ b/plugin-test/css-extract/cases/publicpath-function/expected/nested/again/style.css @@ -1,5 +1,5 @@ body { background: green; - background-image: url(../../61dc21364604d5319600.svg); + background-image: url(../../2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-function/expected/nested/style.css b/plugin-test/css-extract/cases/publicpath-function/expected/nested/style.css index 89722255b7b7..b4b980dfd859 100644 --- a/plugin-test/css-extract/cases/publicpath-function/expected/nested/style.css +++ b/plugin-test/css-extract/cases/publicpath-function/expected/nested/style.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(../61dc21364604d5319600.svg); + background-image: url(../2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-loader-auto/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-loader-auto/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-loader-auto/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-loader-auto/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-loader-auto/expected/main.css b/plugin-test/css-extract/cases/publicpath-loader-auto/expected/main.css index e1334d2985ae..afa9a79cec01 100644 --- a/plugin-test/css-extract/cases/publicpath-loader-auto/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-loader-auto/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(61dc21364604d5319600.svg); + background-image: url(2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-1/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-path-relative-1/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-path-relative-1/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-path-relative-1/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-1/expected/main.css b/plugin-test/css-extract/cases/publicpath-path-relative-1/expected/main.css index aebe84a71224..fcd63b67dcc1 100644 --- a/plugin-test/css-extract/cases/publicpath-path-relative-1/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-path-relative-1/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(/static/img/../deep61dc21364604d5319600.svg); + background-image: url(/static/img/../deep2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-2/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-path-relative-2/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-path-relative-2/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-path-relative-2/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-2/expected/main.css b/plugin-test/css-extract/cases/publicpath-path-relative-2/expected/main.css index 89722255b7b7..b4b980dfd859 100644 --- a/plugin-test/css-extract/cases/publicpath-path-relative-2/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-path-relative-2/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(../61dc21364604d5319600.svg); + background-image: url(../2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-3/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-path-relative-3/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-path-relative-3/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-path-relative-3/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-3/expected/main.css b/plugin-test/css-extract/cases/publicpath-path-relative-3/expected/main.css index c3d161fae446..d7f2a7b5c3d6 100644 --- a/plugin-test/css-extract/cases/publicpath-path-relative-3/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-path-relative-3/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(/61dc21364604d5319600.svg); + background-image: url(/2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-4/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-path-relative-4/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-path-relative-4/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-path-relative-4/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-4/expected/main.css b/plugin-test/css-extract/cases/publicpath-path-relative-4/expected/main.css index 3310cbe753f5..957b734a55ce 100644 --- a/plugin-test/css-extract/cases/publicpath-path-relative-4/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-path-relative-4/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(./61dc21364604d5319600.svg); + background-image: url(./2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-5/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-path-relative-5/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-path-relative-5/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-path-relative-5/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-5/expected/main.css b/plugin-test/css-extract/cases/publicpath-path-relative-5/expected/main.css index 392434604fc7..6a2cc5a43cf9 100644 --- a/plugin-test/css-extract/cases/publicpath-path-relative-5/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-path-relative-5/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(../static/61dc21364604d5319600.svg); + background-image: url(../static/2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-6/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-path-relative-6/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-path-relative-6/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-path-relative-6/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-6/expected/main.css b/plugin-test/css-extract/cases/publicpath-path-relative-6/expected/main.css index 77185243ce61..c41a5d803428 100644 --- a/plugin-test/css-extract/cases/publicpath-path-relative-6/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-path-relative-6/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(./static/61dc21364604d5319600.svg); + background-image: url(./static/2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-7/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-path-relative-7/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-path-relative-7/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-path-relative-7/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-path-relative-7/expected/main.css b/plugin-test/css-extract/cases/publicpath-path-relative-7/expected/main.css index 6fdfdb4cfdf5..d65456129a53 100644 --- a/plugin-test/css-extract/cases/publicpath-path-relative-7/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-path-relative-7/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(static61dc21364604d5319600.svg); + background-image: url(static2b438a6f1910279f8b62.svg); } diff --git a/plugin-test/css-extract/cases/publicpath-path-relative/expected/61dc21364604d5319600.svg b/plugin-test/css-extract/cases/publicpath-path-relative/expected/2b438a6f1910279f8b62.svg similarity index 100% rename from plugin-test/css-extract/cases/publicpath-path-relative/expected/61dc21364604d5319600.svg rename to plugin-test/css-extract/cases/publicpath-path-relative/expected/2b438a6f1910279f8b62.svg diff --git a/plugin-test/css-extract/cases/publicpath-path-relative/expected/main.css b/plugin-test/css-extract/cases/publicpath-path-relative/expected/main.css index 281c6b8db674..1b387f017439 100644 --- a/plugin-test/css-extract/cases/publicpath-path-relative/expected/main.css +++ b/plugin-test/css-extract/cases/publicpath-path-relative/expected/main.css @@ -1,5 +1,5 @@ body { background: red; - background-image: url(/static/img/61dc21364604d5319600.svg); + background-image: url(/static/img/2b438a6f1910279f8b62.svg); }