firebase / firebase/firebase-js-sdk

FR: Bazel support

Open
#1,861 3 comments 0 reactions 0 assignees View on GitHub
api: core feature request
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

### [REQUIRED] Describe your environment

* Operating System version: macOS Mojave (10.14.4)
* Browser version: Chrome 70-something
* Firebase SDK version: Latest
* Firebase Product: All of them

### [REQUIRED] Describe the problem

We have a frontend project using Bazel, specifically `rules_closure`. It would be awesome to gain Bazel support in the Firebase JS SDK, so we could potentially build against the SDK's sources.

The gains delivered by this support might include a deeper ability to tree-shake unused code from the Firebase SDK, for a given application.

#### Steps to reproduce:
1) Try to use Firebase SDK in JS from Bazel with `rules_closure`
2) Realize you will probably have to write an overlay file and use `new_git_repository`, or find a fork, or build against externs
3) Externs are not ideal because they are out-of-scope of the Closure compiler

Thank you in advance Firebase team

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.