summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2018-08-08 10:44:46 -0700
committerRyan Dahl <ry@tinyclouds.org>2018-08-08 23:00:44 -0700
commit0e96125260f2d78718e57cac95c7dc672bb24e57 (patch)
tree2fcef3a2d0a3b0c0a0b75944945b14b13a74a263
parent038c5f0727a8d6f86d95932f06bf229f83b9ce6f (diff)
Use sourcemapFile to reroot sourcemap sources
-rw-r--r--BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 064a59e16..c52c2503e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -308,6 +308,8 @@ run_node("bundle") {
rebase_path("js/main.ts", root_build_dir),
"-o",
rebase_path(out_dir + "main.js", root_build_dir),
+ "--sourcemapFile",
+ rebase_path("."),
"--silent",
"--environment",
"BASEPATH:" + rebase_path(".", root_build_dir),