mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 11:29:02 +00:00
fix(bundler): some sourcemap generation bugs (#11344)
Co-authored-by: paperdave <paperdave@users.noreply.github.com> Co-authored-by: Meghan Denny <meghan@bun.sh> Co-authored-by: nektro <nektro@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Le Michel <95184938+Ptitet@users.noreply.github.com> Co-authored-by: Дмитрий Заводской <zawodskoj2@gmail.com> Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com> Co-authored-by: HUMORCE <humorce@outlook.com> Co-authored-by: huseeiin <122984423+huseeiin@users.noreply.github.com>
This commit is contained in:
@@ -190,8 +190,10 @@ pub const SavedSourceMap = struct {
|
||||
pub const MissingSourceMapNoteInfo = struct {
|
||||
pub var storage: bun.PathBuffer = undefined;
|
||||
pub var path: ?[]const u8 = null;
|
||||
pub var seen_invalid = false;
|
||||
|
||||
pub fn print() void {
|
||||
if (seen_invalid) return;
|
||||
if (path) |note| {
|
||||
Output.note(
|
||||
"missing sourcemaps for {s}",
|
||||
|
||||
Reference in New Issue
Block a user