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:
Jarred Sumner
2021-06-04 16:06:38 -07:00
parent 3d827342a5
commit 65f4ea1e18
10 changed files with 2534 additions and 2467 deletions

View File

@@ -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,