Skip to content

Commit 4311169

Browse files
authored
Merge pull request #1 from stackb/pcj/update-readme
Explain closure_ts_compile.deps
2 parents 2d1ebe8 + 831c699 commit 4311169

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,15 @@ closure_ts_compile(
4444
- download npm deps and prepare the `js_binary` tsickle runner
4545
(`//tools/tsicklecompiler`).
4646
- run the tool, which roughly works as follows:
47-
- prepare in internal/minimal `tsconfig.json` configuration.
47+
- prepare an internal/minimal `tsconfig.json` configuration.
4848
- runs `tsc` over the inputs to generate a `ts.Program`
4949
- runs tsickle over the `ts.Program` to AST-rewrite/transform it.
5050
- emits the transformed `.js` files.
5151
- output files:
5252
- each `{basename}.ts` will produce an equivalent `{basename}.js` file
5353
- if any `.d.ts` files are present, a single `{name}-externs.js` file will be
5454
produced.
55+
56+
`closure_ts_compile` can take `deps` on other `closure_ts_compile` rules. The
57+
source `.ts` files will be made available to `tsc`. Only direct `.ts` files in
58+
the primary rule will emitted.

0 commit comments

Comments
 (0)