blob: a5b0770da032e1aa27becbb404e0866d937c47a0 [file] [log] [blame]
Philipp Schrader175a93c2023-02-19 13:13:40 -08001load("@aspect_rules_ts//ts:defs.bzl", _ts_project = "ts_project")
2
3def ts_project(name, **kwargs):
4 """ts_project() macro with default tsconfig and aligning params.
5 """
6
7 _ts_project(
8 name = name,
9
10 # Default tsconfig and aligning attributes
11 tsconfig = kwargs.pop("tsconfig", "//:tsconfig"),
12 declaration = kwargs.pop("declaration", True),
13 declaration_map = kwargs.pop("declaration_map", True),
14 source_map = kwargs.pop("source_map", True),
15
16 # TODO(phil): Is this a good idea? I don't _actually_ know what this
17 # does.
18 supports_workers = False,
19 **kwargs
20 )