From 5bb3766845b1ec33367b1351d2fd5d9cda7d2a0c Mon Sep 17 00:00:00 2001 From: smuddyx Date: Mon, 12 Sep 2022 22:43:38 +0200 Subject: [PATCH] webpack optimisation --- angular.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/angular.json b/angular.json index 2870e24..afc6a20 100644 --- a/angular.json +++ b/angular.json @@ -47,7 +47,10 @@ "buildOptimizer": false, "sourceMap": true, "optimization": false, - "namedChunks": true + "namedChunks": true, + "allowedCommonJsDependencies": [ + "lodash", "docx" + ] }, "configurations": { "production": {