-
Notifications
You must be signed in to change notification settings - Fork 94
Conversation
How exciting! Thanks for working on this. |
@ribrdb is this stalled or still being planned for merging? |
Well it's stalled waiting for the Google teams to decide how they want the projects to work together. |
@ribrdb is it possible to update both of your PRs to the latest versions (or the latest master)? |
@ribrdb maybe I'm using it wrong, but getting an error
WORKSPACE:
|
@kalbasit What are you trying to do? closure_js_library(
name="lib_js",
ts_lib=":lib_ts",
)
closure_js_binary(
name = "closure_bin",
deps = [":lib_js"],
) Why do you have closure_library in the dependencies for your ts_library? Are you trying to use the closure library from your typescript code? That's more complicated -- we've been assuming not many people would want to do that. |
I was trying to debug the issue, and I saw this in your PR here. Thanks, I'll give it a try tomorrow and let you know. I would love to have your PRs up to date, do you think you have some time for that? |
I tried updating, but some things aren't working right. I'll need to spend some more time debugging to see what's going on. |
Thank you @ribrdb for your time! |
- Fix calling functions from closure's goog/base.js. - Support generate_externs=False.
@ribrdb I see you've updated this PR and bazelbuild/rules_closure#261. Are both PRs working together now? |
Yes, they should be working now. |
Just in case it helps anyone, here are two alternative approaches (read the full issue thread as I posted updated code later on) on integrating rules_typescript with rules_closure without code changes to either. Feedback welcome! https://github.com/bazelbuild/rules_typescript/issues/344 |
This PR is old. Still excited to get the feature in but I think we'll need a new PR. Probably against rules_nodejs as most of this repo is moving there today. |
Issue #6
There's two parts to this:
This works with bazelbuild/rules_closure#261 which makes 2 changes to rules_closure: