From 23c7b504f1bb1df0ea1c97b93f43c5bc4bcb77f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Mon, 2 Oct 2023 11:34:02 +0200 Subject: [PATCH] fix(angular): do not set less math option in ng-packagr executors (#19402) --- .../ng-packagr-adjustments/styles/stylesheet-processor.ts | 1 - .../ng-packagr-adjustments/styles/stylesheet-processor.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/angular/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.ts b/packages/angular/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.ts index 3185a2effbc7e..42bfa872b8b29 100644 --- a/packages/angular/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.ts +++ b/packages/angular/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.ts @@ -277,7 +277,6 @@ export class StylesheetProcessor { await import('less') ).render(css, { filename: filePath, - math: 'always', javascriptEnabled: true, paths: this.styleIncludePaths, }); diff --git a/packages/angular/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.ts b/packages/angular/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.ts index b4d043dd9df95..2cb05da94c423 100644 --- a/packages/angular/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.ts +++ b/packages/angular/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.ts @@ -270,7 +270,6 @@ export class StylesheetProcessor { await import('less') ).render(css, { filename: filePath, - math: 'always', javascriptEnabled: true, paths: this.styleIncludePaths, });