Skip to content

moduleId: module.id is undefined if material 2 alpha.5 is loaded as umd instead of system.js #540

Closed
@gregbown

Description

@gregbown

I am curious, what is the purpose of having this moduleId property on every component as of alpha.5?

It appears that module.id is the path to the application component at run time if the application is loaded via system.js. Is there any intention of supporting other use cases such as loading material in a umd fashion?

I am loading the modules in a umd format, therefore module.id is undefined. My only solution was to comment out //moduleId: module.id in the components.

Thank you
Greg

Metadata

Metadata

Assignees

No one assigned

    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