mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The `ng_package` rule currently creates incorrect UMD module exports if an entry-point has a module name with numbers included. For example, consider an entry-point called `@angular/cdk/a11y`. The UMD module name should be `ng.cdk.a11y`. Instead, `ng_package` currently generates an UMD module export called `ng.cdk.a11Y`. This is because the logic for converting dash-case to camel case is invalid as it uses Starlark's `title()` method. The title method converts text to title case while we actually just want to capitalize the first letter of a dash-case segment. Fixes angular/components#18652. PR Close #35792 |
||
|---|---|---|
| .. | ||
| example | ||
| example-with-ts-library | ||
| BUILD.bazel | ||
| common_package.spec.ts | ||
| core_package.spec.ts | ||
| example-custom-entry-point-name.golden | ||
| example_package.golden | ||
| example_package.spec.ts | ||
| example_with_ts_library_package.golden | ||