-
Notifications
You must be signed in to change notification settings - Fork 84
Example of using closure_js_binary to bundle an Angular application? #15
Comments
bazelbuild/rules_typescript#74 is the next step. |
I think @mrmeku is going to own this, and we'll do a hackathon in MTV the week of Dec 18 to put together a working prototype. Want to participate? |
I'm no longer in MTV, but I'd be happy to help out online to the extent that I can. I don't have much experience implementing rules in Skylark and interacting with the Closure rule internals, but I can try to take on some smaller well-defined tasks or give feedback when trying to consume the rules from my projects. |
The more the merrier!
…On Thu, Dec 7, 2017 at 1:25 PM Patrick Shields ***@***.***> wrote:
I'm no longer in MTV, but I'd be happy to help out online to the extent
that I can. I don't have much experience implementing rules in Skylark and
interacting with the Closure rule internals, but I can try to take on some
smaller well-defined tasks or give feedback when trying to consume the
rules from my projects.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHteO7B821jIVkhVwrtryW80pSkzb1rBks5s-Em3gaJpZM4Qfp8y>
.
|
Let's track it in bazelbuild/rules_typescript#6 We'll naturally add an example as part of landing a major feature |
Hi Alex! I'm attempting to develop some applications on the Angular+Bazel+Closure stack, and I'm running into the issue of lacking a build rule to produce the JS application bundle. I see from the wiki's "Coming soon" section that there will soon be "a production bundling/optimizing rule that generates a distribution of the app (or library)". Is the plan to modify the
closure_js_binary
rule to support that? Can you share a little bit more about what needs to be done to get that working?The current issue I'm running into when I try to use the
closure_js_binary
rule is that when I add anng_module
target as a dependency, I getERROR: [...] 'app_module' does not have mandatory providers: 'closure_js_library'.
I notice a similar error occurs when I check out theclosure_js_binary
branch of this example repository and attempt to build//src:prod_bundle
.It's exciting to be able to build on this stack. Thanks for the contributions you're making to make it possible.
The text was updated successfully, but these errors were encountered: