From 64703d1a4878e5d7bcb530f6710315c242b5201b Mon Sep 17 00:00:00 2001 From: nzbin Date: Sat, 16 Nov 2024 23:37:50 +0800 Subject: [PATCH] build: fix build errors --- angular.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/angular.json b/angular.json index 9dd18a2..7649141 100644 --- a/angular.json +++ b/angular.json @@ -67,20 +67,23 @@ "styles": [ "projects/dev-app/src/styles.scss" ], - "scripts": [] + "scripts": [], + "allowedCommonJsDependencies": [ + "html2canvas" + ] }, "configurations": { "production": { "budgets": [ { "type": "initial", - "maximumWarning": "500kB", - "maximumError": "1MB" + "maximumWarning": "2MB", + "maximumError": "5MB" }, { "type": "anyComponentStyle", - "maximumWarning": "2kB", - "maximumError": "4kB" + "maximumWarning": "4kB", + "maximumError": "10kB" } ], "outputHashing": "all"