mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
Generate differnet versions of Bundler, Resolver, and Caches at comptime based on whether we're serving over HTTP
Former-commit-id: e1a8852706
This commit is contained in:
@@ -769,12 +769,12 @@ pub const OutputFile = struct {
|
||||
move: FileOperation,
|
||||
copy: FileOperation,
|
||||
noop: u0,
|
||||
pending: resolver.Resolver.Result,
|
||||
pending: resolver.Result,
|
||||
};
|
||||
|
||||
pub const Kind = enum { move, copy, noop, buffer, pending };
|
||||
|
||||
pub fn initPending(loader: Loader, pending: resolver.Resolver.Result) OutputFile {
|
||||
pub fn initPending(loader: Loader, pending: resolver.Result) OutputFile {
|
||||
return .{
|
||||
.loader = .file,
|
||||
.input = pending.path_pair.primary,
|
||||
|
||||
Reference in New Issue
Block a user