Skip to content

@angular-devkit/build-angular:jest: allow configuring loaders for custom file extensions #26754

@alebx

Description

@alebx

Command

test

Description

It would be nice to allow the configuration of loaders for custom file extensions in @angular-devkit/build-angular:jest like for @angular-devkit/build-angular:application.

"options": {
  "loader": {
    ".png": "file",
     ".svg": "file"
  }
}

This would also be necessary if the application has loaders enabled to run the tests successfully.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions