From 9544aa179d1ddefee448daa4fe9183c2e316d536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 27 Jul 2021 14:30:03 +0200 Subject: [PATCH] MOBILE-3833 config: Disable chart.js CommonJS warning --- angular.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/angular.json b/angular.json index c1275f42d..036390079 100644 --- a/angular.json +++ b/angular.json @@ -14,6 +14,9 @@ "build": { "builder": "@angular-devkit/build-angular:browser", "options": { + "allowedCommonJsDependencies":[ + "chart.js" + ], "outputPath": "www", "index": "src/index.html", "main": "src/main.ts", @@ -46,7 +49,6 @@ }, "outputHashing": "all", "sourceMap": false, - "extractCss": true, "namedChunks": false, "aot": true, "extractLicenses": true,