This commit is contained in:
huseeiin
2024-06-18 16:39:20 -04:00
committed by GitHub
parent 3a5077c622
commit 85baa0f3c0
2 changed files with 2 additions and 2 deletions

View File

@@ -198,7 +198,7 @@ pub const SavedSourceMap = struct {
if (seen_invalid) return;
if (path) |note| {
Output.note("missing sourcemaps for {s}", .{note});
Output.note("consider bundling with '--sourcemap' to get an unminified traces", .{});
Output.note("consider bundling with '--sourcemap' to get unminified traces", .{});
}
}
};

View File

@@ -61,7 +61,7 @@ describe("bundler", () => {
exitCode: 1,
validate({ stderr }) {
expect(stderr).toInclude("\nnote: missing sourcemaps for ");
expect(stderr).toInclude("\nnote: consider bundling with '--sourcemap' to get an unminified traces\n");
expect(stderr).toInclude("\nnote: consider bundling with '--sourcemap' to get unminified traces\n");
},
},
});