Skip to content

Commit 6dd4de5

Browse files
author
Jeonghwan Lee
committed
Fix Chunk.prototype.entrypoints setter
1 parent 9a33e03 commit 6dd4de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Chunk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ Object.defineProperty(Chunk.prototype, "entrypoints", {
705705
return this._entrypoints.getFromCache(getFrozenArray);
706706
}, "Chunk.entrypoints: Use Chunk.getEntrypoints() instead"),
707707
set: util.deprecate(function(value) {
708-
this.setBlocks(value);
708+
this.setEntrypoints(value);
709709
}, "Chunk.entrypoints: Use Chunk.addEntrypoint/setEntrypoints to modify entrypoints.")
710710
});
711711

0 commit comments

Comments
 (0)