reduce storybook memory usage and increase build memory (#6798)

reduce memory usage and increase build memory

Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Truman Gao
2026-07-21 19:10:46 +00:00
committed by GitHub
co-authored by Prospector
parent 7ac1d17571
commit d322a2b0c8
3 changed files with 6 additions and 3 deletions
+3
View File
@@ -17,6 +17,9 @@ const config: StorybookConfig = {
addons: ['@storybook/addon-themes', '@storybook/addon-a11y'],
viteFinal: async (config) =>
mergeConfig(config, {
build: {
reportCompressedSize: false,
},
resolve: {
alias: {
'@modrinth/api-client': path.resolve(storybookDirectory, '../../api-client/src/index.ts'),