aboutsummaryrefslogtreecommitdiff
path: root/src/bundler.zig
diff options
context:
space:
mode:
authorGravatar Dylan Conway <35280289+dylan-conway@users.noreply.github.com> 2023-02-23 23:57:19 -0800
committerGravatar GitHub <noreply@github.com> 2023-02-23 23:57:19 -0800
commit3f04f8d0a653cf5decef2225c2044742b382718a (patch)
tree91eb6500834e3157ecb9ab208101aa368a1191c8 /src/bundler.zig
parentb5bdde28ed34070cbb1d34d13f414f4c513ee40d (diff)
downloadbun-3f04f8d0a653cf5decef2225c2044742b382718a.tar.gz
bun-3f04f8d0a653cf5decef2225c2044742b382718a.tar.zst
bun-3f04f8d0a653cf5decef2225c2044742b382718a.zip
Upgrade Zig (#2151)
* fixup * Upgrade Zig * Remove bad assertion * strings * bump * mode -> optimize * optimize * Linux build * Update bindgen.zig
Diffstat (limited to 'src/bundler.zig')
-rw-r--r--src/bundler.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler.zig b/src/bundler.zig
index 6b55c8037..e1b791b45 100644
--- a/src/bundler.zig
+++ b/src/bundler.zig
@@ -690,7 +690,7 @@ pub const Bundler = struct {
var dir_info = dir_info_ orelse return;
this.options.routes.dir = dir_info.abs_path;
- this.options.routes.extensions = std.mem.span(&options.RouteConfig.DefaultExtensions);
+ this.options.routes.extensions = options.RouteConfig.DefaultExtensions[0..];
this.options.routes.routes_enabled = true;
this.router = try Router.init(this.fs, this.allocator, this.options.routes);
try this.router.?.loadRoutes(