blob: 01b8bfec527ee7291b3370054a6e9c9d6f33d9c7 [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.
Philipp Schraderba072d92024-02-21 17:00:37 -080018 supports_workers = 0,
Philipp Schrader175a93c2023-02-19 13:13:40 -080019 **kwargs
20 )