8000
We read every piece of feedback, and take your input very seriously.
2 parents 576c260 + 9b08be6 commit 8e28305Copy full SHA for 8e28305
lib/Compilation.js
@@ -1883,7 +1883,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
1883
creatingModuleDuringBuildSet
1884
);
1885
}
1886
- creatingModuleDuringBuildSet.add(originModule);
+ creatingModuleDuringBuildSet.add(module);
1887
1888
// When building is blocked by another module
1889
// search for a cycle, cancel the cycle by throwing
test/cases/errors/load-module-cycle-multiple/1/a.json
@@ -0,0 +1 @@
1
+"./a.json"
test/cases/errors/load-module-cycle-multiple/2/a.json
+"./b.json"
test/cases/errors/load-module-cycle-multiple/2/b.json
test/cases/errors/load-module-cycle-multiple/3/a.json
test/cases/errors/load-module-cycle-multiple/3/b.json
+"./c.json"
test/cases/errors/load-module-cycle-multiple/3/c.json
test/cases/errors/load-module-cycle-multiple/4/a.json
+["./b.json", "./b.json"]
test/cases/errors/load-module-cycle-multiple/4/b.json
test/cases/errors/load-module-cycle-multiple/4/c.json
+[]