mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Fix unbundled imports
Former-commit-id: f221da115c1afcd136648c9683d8e9907005a128
This commit is contained in:
@@ -309,9 +309,11 @@ pub const Arguments = struct {
|
||||
};
|
||||
|
||||
switch (comptime cmd) {
|
||||
.AutoCommand, .DevCommand, .BuildCommand => {
|
||||
.AutoCommand, .DevCommand, .BuildCommand, .BunCommand => {
|
||||
if (args.option("--public-dir")) |public_dir| {
|
||||
opts.router = Api.RouteConfig{ .extensions = &.{}, .dir = &.{}, .static_dir = public_dir };
|
||||
if (public_dir.len > 0) {
|
||||
opts.router = Api.RouteConfig{ .extensions = &.{}, .dir = &.{}, .static_dir = public_dir };
|
||||
}
|
||||
}
|
||||
},
|
||||
else => {},
|
||||
|
||||
Reference in New Issue
Block a user