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.
This commit is contained in:
+1
-2
@@ -113,8 +113,7 @@
|
||||
"options": {
|
||||
"configDir": ".storybook",
|
||||
"browserTarget": "atomic-design-poc:build",
|
||||
"compodoc": true,
|
||||
"compodocArgs": ["-e", "json", "-d", "."],
|
||||
"compodoc": false,
|
||||
"port": 6006
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user