-
Notifications
You must be signed in to change notification settings - Fork 763
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds a new `import_style` that emits ES6 modules. For now, this only re-exports the symbols from `import_style=closure`. In the future, this will no longer require emitting google modules (`goog.provide`). If protobuf ever adds support for emitting ES6 modules, we will use them instead of the `goog.provided`'d versions as well. Note that the Bazel integration is currently broken because of a limitation in `rules_closure`.
- Loading branch information
Showing
3 changed files
with
137 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters