Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bundler/Chunk.zig
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub const Chunk = struct {
const entry_point_id = this.entry_point.entry_point_id;
for (chunks) |*other| {
if (other.content == .javascript) {
if (other.entry_point.entry_point_id == entry_point_id) {
if (other.entry_point.entry_point_id == entry_point_id and other.isEntryPoint()) {
return other;
}
}
Expand Down