Skip to content

Commit

Permalink
docs: fix incorrect example of using nodejs_binary for tsc_wrapped wi…
Browse files Browse the repository at this point in the history
…th self-managed deps
  • Loading branch information
mattem authored and alexeagle committed May 13, 2020
1 parent e05f5be commit e8ffdbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/typescript/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ filegroup(
# compiler attribute when using self-managed dependencies
nodejs_binary(
name = "@bazel/typescript/tsc_wrapped",
entry_point = "@bazel/typescript/internal/tsc_wrapped/tsc_wrapped.js",
entry_point = "@npm//:node_modules/@bazel/typescript/internal/tsc_wrapped/tsc_wrapped.js",
# Point bazel to your node_modules to find the entry point
node_modules = ["//:node_modules"],
node_modules = "//:node_modules",
)
```

Expand Down

0 comments on commit e8ffdbc

Please sign in to comment.