You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ng-packagr overrides the default less settings with math: 'always' which results in expressions being evaluated as math when they shouldn't be.
How To Reproduce
A less file with the following contents should not be changed when compiling with the default settings in less 4.x:
.test {
grid-row:1/2;
}
When compiling this for an application using the default settings in angular cli, this css is output verbatim. When compiling this for a library using the default settings, it is changed to the following:
Type of Issue
Description
ng-packagr overrides the default less settings with
math: 'always'
which results in expressions being evaluated as math when they shouldn't be.How To Reproduce
A less file with the following contents should not be changed when compiling with the default settings in less 4.x:
When compiling this for an application using the default settings in angular cli, this css is output verbatim. When compiling this for a library using the default settings, it is changed to the following:
Expected Behaviour
ng-packagr should not override the default settings in less as it does here: https://github.com/ng-packagr/ng-packagr/blob/7a8f7113027afc67694cb4849eb96d66caf69142/src/lib/styles/stylesheet-processor-worker.ts#L115C18-L115C18
Version Information
The text was updated successfully, but these errors were encountered: