Skip to content

Commit

Permalink
fix: consistent localNameIdent hash result with webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
LingyuCoder committed May 6, 2024
1 parent e3915a6 commit f42e012
Show file tree
Hide file tree
Showing 56 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ __webpack_require__.e = function (chunkId) {
// webpack/runtime/get_full_hash
!function() {
__webpack_require__.h = function () {
return "a86b1707b4af75e0f088";
return "048dd0ea10a262087819";
};

}();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugin-test/css-extract/cases/new-url/expected/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ body {
}

a {
background: url(ebb93b9cb62e55bcbc35.png);
background: url(4d3b8fdfbe46b279f223.png);
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -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);
}

Original file line number Diff line number Diff line change
@@ -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);
}

Original file line number Diff line number Diff line change
@@ -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);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(/61dc21364604d5319600.svg);
background-image: url(/2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -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);
}

Original file line number Diff line number Diff line change
@@ -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);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(61dc21364604d5319600.svg);
background-image: url(2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(61dc21364604d5319600.svg);
background-image: url(2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: green;
background-image: url(../../61dc21364604d5319600.svg);
background-image: url(../../2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(../61dc21364604d5319600.svg);
background-image: url(../2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(61dc21364604d5319600.svg);
background-image: url(2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(/static/img/../deep61dc21364604d5319600.svg);
background-image: url(/static/img/../deep2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(../61dc21364604d5319600.svg);
background-image: url(../2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(/61dc21364604d5319600.svg);
background-image: url(/2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(./61dc21364604d5319600.svg);
background-image: url(./2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(../static/61dc21364604d5319600.svg);
background-image: url(../static/2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(./static/61dc21364604d5319600.svg);
background-image: url(./static/2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(static61dc21364604d5319600.svg);
background-image: url(static2b438a6f1910279f8b62.svg);
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
body {
background: red;
background-image: url(/static/img/61dc21364604d5319600.svg);
background-image: url(/static/img/2b438a6f1910279f8b62.svg);
}

0 comments on commit f42e012

Please sign in to comment.