We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 779c753 commit fc36ac3Copy full SHA for fc36ac3
1 file changed
lib/Chunk.js
@@ -162,11 +162,11 @@ class Chunk {
162
});
163
}
164
165
- moveModule(module, other) {
+ moveModule(module, otherChunk) {
166
module.removeChunk(this);
167
- module.addChunk(other);
168
- other.addModule(module);
169
- module.rewriteChunkInReasons(this, [other]);
+ module.addChunk(otherChunk);
+ otherChunk.addModule(module);
+ module.rewriteChunkInReasons(this, [otherChunk]);
170
171
172
integrate(other, reason) {
0 commit comments