-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #50. This is just a `ts_project()` with some better defaults to reduce boilerplate. Also updates the `tsconfig.json` to set up `rootDirs` correctly and remove the WebDriverIO type which apparently isn't necessary.
- Loading branch information
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
load("@npm//@bazel/typescript:index.bzl", _ts_project = "ts_project") | ||
|
||
def ts_project(name, tsconfig = None, **kwargs): | ||
_ts_project( | ||
name = name, | ||
tsconfig = tsconfig or "//:tsconfig.json", | ||
link_workspace_root = True, | ||
declaration = True, | ||
source_map = True, | ||
**kwargs | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters