-
Notifications
You must be signed in to change notification settings - Fork 12k
Add ability to specify additional style preprocessor options #7733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@AhsanAyaz this is a different issue than the other ones addressed by #7648. |
@StevenBarnettST you're right. I removed it from the comment there. |
An argument could be made to always enabled the |
@clydin While personally I'd be fine with having |
Closing, since this has received little to no activity since it has been open since 2017. You can use a 3rd party builder to extend the Angular CLI and provide additional style preprocessor options. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
@angular/cli: 1.4.0
node: 8.4.0
os: win32 x64
@angular/animations: 5.0.0-beta.6
@angular/cdk: 2.0.0-beta.10
@angular/common: 5.0.0-beta.6
@angular/compiler: 5.0.0-beta.6
@angular/core: 5.0.0-beta.6
@angular/forms: 5.0.0-beta.6
@angular/http: 5.0.0-beta.6
@angular/material: 2.0.0-beta.10
@angular/platform-browser: 5.0.0-beta.6
@angular/platform-browser-dynamic: 5.0.0-beta.6
@angular/router: 5.0.0-beta.6
@angular/cli: 1.4.0
@angular/compiler-cli: 5.0.0-beta.6
@angular/language-service: 5.0.0-beta.6
typescript: 2.5.2
Desired functionality.
Please add the ability to specify additional style preprocessor options to be used during compile.
Specifically, I want to be able to enable strict math (
strictMath: true
) for the Less preprocessor.Mention any other details that might be useful.
This option is enabled by adding an additional property to the less-loader options, like the second example in the less-loader readme:
The
stylePreprocessorOptions
setting in the config schema sounds like a great place to add configuration for this. The options already being configured could be merged with any specified in that config object.The text was updated successfully, but these errors were encountered: