-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Enhancement
Copy link
Labels
area: @angular-devkit/build-angulardevkit/build-angular:karmafeatureIssue that requests a new featureIssue that requests a new featurefreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarely
Description
Command
test
Description
It is currently impossible to define the sass option in stylePreprocessorOptions for the Karma builder, which makes it impossible to silence Sass deprecations with "builderMode: application."
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"builderMode": "application",
"stylePreprocessorOptions": {
"sass": {
"silenceDeprecations": ["import"]
}
},throws:
Error: Schema validation failed with the following errors:
Data path "/stylePreprocessorOptions" must NOT have additional properties(sass).
Describe the solution you'd like
stylePreprocessorOptions allows to set includePaths but it would be great to handle sass options as well, like the application builder does.
Describe alternatives you've considered
No response
pawelfras, KalleV, bst-celum, jlnslv, TokenR1ng and 4 more
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:karmafeatureIssue that requests a new featureIssue that requests a new featurefreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarely