mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 12:16:11 -05:00
Improve deno2 bundling
This commit is contained in:
parent
e73b244599
commit
0f71da91d3
2 changed files with 4 additions and 4 deletions
|
@ -114,11 +114,12 @@ run_node("run_tsc") {
|
||||||
]
|
]
|
||||||
args = [
|
args = [
|
||||||
"./node_modules/.bin/tsc",
|
"./node_modules/.bin/tsc",
|
||||||
|
"-p",
|
||||||
|
rebase_path("js/tsconfig.json", root_build_dir),
|
||||||
"--baseUrl",
|
"--baseUrl",
|
||||||
rebase_path(target_gen_dir + "/node_modules", root_build_dir),
|
rebase_path(target_gen_dir + "/node_modules", root_build_dir),
|
||||||
"--outDir",
|
"--outDir",
|
||||||
rebase_path(out_dir, root_build_dir),
|
rebase_path(out_dir, root_build_dir),
|
||||||
rebase_path(main_source, root_build_dir),
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"preserveConstEnums": true,
|
"preserveConstEnums": true,
|
||||||
"declaration": true,
|
|
||||||
"target": "es2017",
|
"target": "es2017",
|
||||||
"noImplicitReturns": true,
|
"noImplicitReturns": true,
|
||||||
"pretty": true,
|
"pretty": true,
|
||||||
|
@ -14,6 +13,6 @@
|
||||||
"allowUnreachableCode": false,
|
"allowUnreachableCode": false,
|
||||||
"experimentalDecorators": true
|
"experimentalDecorators": true
|
||||||
},
|
},
|
||||||
"include": ["*.ts", "*.js"],
|
"include": ["**/*.ts", "**/*.js"],
|
||||||
"exclude": ["tests.ts"]
|
"exclude": ["mock_runtime.js", "node_modules"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue