feat(bazel): prefix private-export (barred-latin-o) symbols (#23007)
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 PR Close #23007
This commit is contained in:

committed by
Matias Niemelä

parent
7a406a32fa
commit
27e14b2fb3
@ -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`.
|
||||
flatModulePrivateSymbolPrefix?: string;
|
||||
|
||||
// Whether to generate code for library code.
|
||||
// If true, produce .ngfactory.ts and .ngstyle.ts files for .d.ts inputs.
|
||||
// Default is true.
|
||||
|
Reference in New Issue
Block a user