reduce memory usage and increase build memory

This commit is contained in:
tdgao
2026-07-21 10:52:42 -07:00
parent f780736d89
commit 115d2d220d
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'),
+1 -1
View File
@@ -43,7 +43,7 @@ import {
// Load locale messages from the UI package's locales
// @ts-ignore
const localeModules = import.meta.glob('../src/locales/*/index.json', {
const localeModules = import.meta.glob('../src/locales/en-US/index.json', {
eager: true,
}) as Record<string, { default: CrowdinMessages }>