diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-06-12 04:45:37 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-12 04:45:37 +0200 |
commit | 0f71da91d319f1fdb297e096342ac45528544aa1 (patch) | |
tree | d4e7d00c56b0596725f944e3ca7d7a24267e6521 | |
parent | e73b2445990c69e5248d3567628293faba96b186 (diff) |
Improve deno2 bundling
-rw-r--r-- | deno2/BUILD.gn | 3 | ||||
-rw-r--r-- | deno2/js/tsconfig.json | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/deno2/BUILD.gn b/deno2/BUILD.gn index c8d9f534e..d41dd9e8d 100644 --- a/deno2/BUILD.gn +++ b/deno2/BUILD.gn @@ -114,11 +114,12 @@ run_node("run_tsc") { ] args = [ "./node_modules/.bin/tsc", + "-p", + rebase_path("js/tsconfig.json", root_build_dir), "--baseUrl", rebase_path(target_gen_dir + "/node_modules", root_build_dir), "--outDir", rebase_path(out_dir, root_build_dir), - rebase_path(main_source, root_build_dir), ] } diff --git a/deno2/js/tsconfig.json b/deno2/js/tsconfig.json index ba2dbe842..e9d42d62d 100644 --- a/deno2/js/tsconfig.json +++ b/deno2/js/tsconfig.json @@ -6,7 +6,6 @@ "sourceMap": true, "removeComments": true, "preserveConstEnums": true, - "declaration": true, "target": "es2017", "noImplicitReturns": true, "pretty": true, @@ -14,6 +13,6 @@ "allowUnreachableCode": false, "experimentalDecorators": true }, - "include": ["*.ts", "*.js"], - "exclude": ["tests.ts"] + "include": ["**/*.ts", "**/*.js"], + "exclude": ["mock_runtime.js", "node_modules"] } |