File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ def _angular_package_format_impl(ctx):
208208 entry_point_package = dep .label .package
209209
210210 # Intentionally evaluates to empty string for the main entry point
211- entry_point = entry_point_package [len (owning_package ) + 1 :]. replace ( '/' , '-' )
211+ entry_point = entry_point_package [len (owning_package ) + 1 :]
212212
213213 # Whether this dependency is for the primary entry-point of the package.
214214 is_primary_entry_point = entry_point == ""
@@ -251,6 +251,7 @@ def _angular_package_format_impl(ctx):
251251 ] if _ != "" ])
252252
253253 bundle_name_base = primary_bundle_name if is_primary_entry_point else entry_point
254+ bundle_name_base = bundle_name_base .replace ('/' , '-' )
254255
255256 # Store the collected entry point in a list of all entry-points. This
256257 # can be later passed to the packager as a manifest.
You can’t perform that action at this time.
0 commit comments