New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(bazel): prefix private-export (barred-latin-o) symbols #23007
Conversation
df6e5ec
to
d1e4fd7
Compare
@@ -99,6 +99,10 @@ export interface CompilerOptions extends ts.CompilerOptions { | |||
// meaningful when `flatModuleOutFile` is also supplied. It is otherwise ignored. | |||
flatModuleId?: string; | |||
|
|||
// A prefix to insert in generated private symbols, e.g. for "my_prefix_" we | |||
// would generate private symbols named like `ɵmy_prefix_a`. | |||
privateSymbolPrefix?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename to flatModulePrivateSymbolPrefix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You can preview df6e5ec at https://pr23007-df6e5ec.ngbuilds.io/. |
d1e4fd7
to
cdb2674
Compare
You can preview d1e4fd7 at https://pr23007-d1e4fd7.ngbuilds.io/. |
You can preview cdb2674 at https://pr23007-cdb2674.ngbuilds.io/. |
cdb2674
to
0c96f97
Compare
You can preview 0c96f97 at https://pr23007-0c96f97.ngbuilds.io/. |
This allows a bundle index to be re-exported by a higher-level module without fear of collisions. Under bazel, we always set the prefix to be underscore-joined workspace, package, label
0c96f97
to
c395536
Compare
You can preview c395536 at https://pr23007-c395536.ngbuilds.io/. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This allows a bundle index to be re-exported by a higher-level module without fear of collisions.
Under bazel, we always set the prefix to be underscore-joined workspace, package, label