Skip to content

Commit

Permalink
build: ts_project windows ci fix (#1773)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Apr 1, 2020
1 parent 520493d commit 5c9878f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/rollup/test/integration/far/a/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load("@npm_bazel_typescript//:index.bzl", "ts_project")
package(default_visibility = ["//packages/rollup:__subpackages__"])

ts_project(
srcs = ["index.ts"],
srcs = glob(["*.ts"]),
)

js_library(
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup/test/integration/far/a/b/c/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load("@npm_bazel_typescript//:index.bzl", "ts_project")
package(default_visibility = ["//packages/rollup:__subpackages__"])

ts_project(
srcs = ["index.ts"],
srcs = glob(["*.ts"]),
)

js_library(
Expand Down
8 changes: 7 additions & 1 deletion packages/rollup/test/integration/far/a/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
"target": "es2015",
"module": "esnext",
"moduleResolution": "node"
}
},
// For Windows, which is not sand-boxed, we need to limit
// the typescript files included so the "@far/a" compilation
// does not include typescript files from "@far/a/b/c" which
// is contained in a subdirectory. By default, typescript will
// include all typescript in the containing directory and subdirectories.
"include": ["*.ts"]
}

0 comments on commit 5c9878f

Please sign in to comment.