diff options
Diffstat (limited to '')
| -rw-r--r-- | src/linker.zig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/linker.zig b/src/linker.zig index 15b2e82e6..71f954774 100644 --- a/src/linker.zig +++ b/src/linker.zig @@ -301,12 +301,12 @@ pub fn NewLinker(comptime BundlerType: type) type { // Change the import order so that any bundled imports appear last // This is to make it so the bundle (which should be quite large) is least likely to block rendering - if (needs_bundle) { - const sorter = ImportStatementSorter{ .import_records = result.ast.import_records }; - for (result.ast.parts) |*part, i| { - std.sort.sort(js_ast.Stmt, part.stmts, sorter, ImportStatementSorter.lessThan); - } - } + // if (needs_bundle) { + // const sorter = ImportStatementSorter{ .import_records = result.ast.import_records }; + // for (result.ast.parts) |*part, i| { + // std.sort.sort(js_ast.Stmt, part.stmts, sorter, ImportStatementSorter.lessThan); + // } + // } } const ImportPathsList = allocators.BSSStringList(512, 128); |
