Created
November 24, 2020 11:58
-
-
Save mgenov/6bfc3d705ecb2d5bef5b18da13f7e101 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
ts_project( | |
name = "mylib", | |
extends = "//apps/myapp:tsconfig", | |
tsconfig = { | |
"compilerOptions": { | |
"types": [], | |
}, | |
}, | |
visibility = [ | |
"//apps/myapp:__subpackages__", | |
], | |
deps = [ | |
"@npm//react", | |
], | |
) |
This file contains hidden or 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
load("@npm//@bazel/typescript:index.bzl", "ts_config") | |
exports_files(["tsconfig-base.json"]) | |
ts_config( | |
name = "tsconfig", | |
src = "tsconfig-base.json", | |
visibility = ["//accounts/myaccount:__subpackages__"], | |
) |
This file contains hidden or 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
{ | |
"compilerOptions": { | |
"target": "ES5", | |
"allowJs": true, | |
"skipLibCheck": true, | |
"sourceMap": false, | |
"esModuleInterop": true, | |
"allowSyntheticDefaultImports": true, | |
"strict": false, | |
"forceConsistentCasingInFileNames": true, | |
"module": "es2015", | |
"moduleResolution": "Node", | |
"jsx": "react", | |
"lib": [ | |
"es5", | |
"es2015.promise", | |
"dom", | |
"es2015" | |
], | |
"rootDirs": [ | |
".", | |
"../../../bazel-out/darwin-fastbuild/bin/apps/myapp", | |
"../../../bazel-out/k8-fastbuild/bin/apps/myapp", | |
"../../../bazel-out/x64_windows-fastbuild/bin/apps/myapp", | |
"../../../bazel-out/darwin-dbg/bin/apps/myapp", | |
"../../../bazel-out/k8-dbg/bin/apps/myapp", | |
"../../../bazel-out/x64_windows-dbg/bin/apps/myapp", | |
], | |
"types": [], | |
"composite": true, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment