mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
changes
This commit is contained in:
2
.vscode/launch.json
generated
vendored
2
.vscode/launch.json
generated
vendored
@@ -59,7 +59,7 @@
|
||||
"request": "launch",
|
||||
"name": "bun run [file]",
|
||||
"program": "${workspaceFolder}/build/debug/bun-debug",
|
||||
"args": ["--app"],
|
||||
"args": ["build", "--app"],
|
||||
"cwd": "${fileDirname}",
|
||||
"env": {
|
||||
"FORCE_COLOR": "0",
|
||||
|
||||
@@ -445,6 +445,7 @@ pub fn buildWithVm(ctx: bun.cli.Command.Context, cwd: []const u8, vm: *VirtualMa
|
||||
const runtime_file_index = maybe_runtime_file_index orelse {
|
||||
bun.Output.panic("Runtime file not found. This is an unexpected bug in Bun. Please file a bug report on GitHub.", .{});
|
||||
};
|
||||
|
||||
const any_client_chunks = any_client_chunks: {
|
||||
for (bundled_outputs) |file| {
|
||||
if (file.side) |s| {
|
||||
@@ -455,6 +456,7 @@ pub fn buildWithVm(ctx: bun.cli.Command.Context, cwd: []const u8, vm: *VirtualMa
|
||||
}
|
||||
break :any_client_chunks false;
|
||||
};
|
||||
|
||||
if (any_client_chunks) {
|
||||
const runtime_file: *const OutputFile = &bundled_outputs[runtime_file_index];
|
||||
_ = runtime_file.writeToDisk(root_dir, ".") catch |err| {
|
||||
|
||||
Reference in New Issue
Block a user