Skip to content

UMD distributions have anonymous modules #10142

Closed
@alexeagle

Description

@alexeagle

Under Bazel, our devserver expects to be able to concatenate all the JS, meaning we can't rely on path information in XHRs to know what name each module has.

I fixed this for Angular in angular/angular@82e4923
We should do the same thing for material distributions.

(Note, users could instead use some other loader like system.js to bring in UMD dependencies that don't provide a name, but this is a bunch of extra complexity. We should make the Bazel use case simple for libraries we control.)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions