1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

Use sourcemapFile to reroot sourcemap sources

This commit is contained in:
Kitson Kelly 2018-08-08 10:44:46 -07:00 committed by Ryan Dahl
parent 038c5f0727
commit 0e96125260

View file

@ -308,6 +308,8 @@ run_node("bundle") {
rebase_path("js/main.ts", root_build_dir), rebase_path("js/main.ts", root_build_dir),
"-o", "-o",
rebase_path(out_dir + "main.js", root_build_dir), rebase_path(out_dir + "main.js", root_build_dir),
"--sourcemapFile",
rebase_path("."),
"--silent", "--silent",
"--environment", "--environment",
"BASEPATH:" + rebase_path(".", root_build_dir), "BASEPATH:" + rebase_path(".", root_build_dir),