summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn6
1 files changed, 2 insertions, 4 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 0e5df2428..247c322a9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -278,17 +278,17 @@ run_node("deno_runtime_declaration") {
run_node("bundle") {
out_dir = "$target_gen_dir/bundle/"
- sources = ts_sources + [ "rollup.config.js" ]
outputs = [
out_dir + "main.js",
out_dir + "main.js.map",
]
+ depfile = out_dir + "main.d"
deps = [
":deno_runtime_declaration",
":msg_ts",
]
args = [
- "./node_modules/rollup/bin/rollup",
+ rebase_path("third_party/node_modules/rollup/bin/rollup", root_build_dir),
"-c",
rebase_path("rollup.config.js", root_build_dir),
"-i",
@@ -298,8 +298,6 @@ run_node("bundle") {
"--sourcemapFile",
rebase_path("."),
"--silent",
- "--environment",
- "BASEPATH:" + rebase_path(".", root_build_dir),
]
}