Skip to content

Commit

Permalink
fix: infer async modules when incremental enabled (#7927)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahabhgk authored and JSerFeng committed Oct 9, 2024
1 parent 6111dc5 commit 823d57f
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/plugin-test/copy-plugin/build/main.js

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
@@ -0,0 +1,8 @@
.a {
width: 100px;
}

.b {
width: 100px;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.b {
width: 100px;
}

.a {
width: 100px;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.styleA {
background: red;
}

.styleB {
background: blue;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.styleA {
background: red;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
body {
background: red;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
body {
background: green;
}

Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,22 @@ __webpack_require__.e = function (chunkId) {
// return url for filenames not based on template

// return url for filenames based on template
<<<<<<< HEAD
return "" + chunkId + ".$" + "ab430f3232737cd7fe9a" + "$.css";
=======
return "" + chunkId + ".$" + "bb3ca0a2a8332b9ea9ee" + "$.css";
>>>>>>> 4e325fda8 (fix: infer async modules when incremental enabled (#7927))
};

})();
// webpack/runtime/get_full_hash
(() => {
__webpack_require__.h = function () {
<<<<<<< HEAD
return "346fef09900abc98cd47";
=======
return "5fcc30abf165502e2631";
>>>>>>> 4e325fda8 (fix: infer async modules when incremental enabled (#7927))
};

})();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

.y47aAtdWkILSHa01rP4B {
background: green;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.y47aAtdWkILSHa01rP4B {
background: red;
}

0 comments on commit 823d57f

Please sign in to comment.