Skip to content

angular.json scripts support .mjs file format #24893

@turingcs2005

Description

@turingcs2005

Which @angular/* package(s) are relevant/related to the feature request?

No response

Description

Currently angular.json's scripts section does not support .mjs. Some front end packages such as mermaid 10 has moved to ES modules with .mjs files

Proposed solution

Support .mjs in angular.json's scripts.

Alternatives considered

Import scripts in index.html is a workaround though not elegant.

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