From 274e17cd51e7b1f155616ffec1d1460753af64e0 Mon Sep 17 00:00:00 2001 From: Edwin van den Houdt Date: Wed, 29 Jul 2026 21:28:19 +0200 Subject: [PATCH] fix(storybook): disable compodoc on the dev target Every `npm run storybook` start ran a full Compodoc TypeScript-program analysis over the whole app (not just the 62 stories), regenerating a 9MB documentation.json and spiking memory/CPU enough to crash the machine. build-storybook (what CI/docs actually ship) keeps compodoc; the interactive dev loop just serves the last-committed documentation.json. --- angular.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/angular.json b/angular.json index 954bdf6..58e342f 100644 --- a/angular.json +++ b/angular.json @@ -113,8 +113,7 @@ "options": { "configDir": ".storybook", "browserTarget": "atomic-design-poc:build", - "compodoc": true, - "compodocArgs": ["-e", "json", "-d", "."], + "compodoc": false, "port": 6006 } },