angular / angular-cli

CLI tool for Angular
https://cli.angular.io
MIT License
26.77k stars 11.97k forks source link

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

Open alebx opened 10 months ago

alebx commented 10 months ago

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

angular-robot[bot] commented 10 months ago

This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.

You can find more details about the feature request process in our documentation.

pablopla commented 10 months ago

It should also be enabled for @angular-devkit/build-angular:browser-esbuild

angular-robot[bot] commented 8 months ago

Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

Find more details about Angular's feature request process in our documentation.

angular-robot[bot] commented 8 months ago

Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

You can find more details about the feature request process in our documentation.