Fix build errors: update imports and re-exports
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m45s

- Fixed equipment/index.ts imports (use correct export names: ACCESSORIES_EQUIPMENT, CASTER_EQUIPMENT, etc.)
- Fixed page.tsx: added lazy, Suspense imports from react
- Fixed page.tsx: updated getUnifiedEffects import from @/lib/game/effects
- Fixed ManaTypeBreakdown.tsx: updated computeEffectiveRegenForDisplay import
- Fixed SpireTab.tsx: updated getEnemyName import from enemy-utils
- Fixed LeftPanel.tsx: updated getUnifiedEffects import from @/lib/game/effects
- Build now succeeds with all tabs working
This commit is contained in:
Refactoring Agent
2026-05-02 18:36:36 +02:00
parent d2d28887b1
commit d5cbc9faff
7 changed files with 63 additions and 14 deletions
+12 -3
View File
@@ -1,11 +1,20 @@
// ─── Golem Definitions Index ─────────────────────────────────
// ─── Golem Definitions Index ───────────────────────
// Re-exports from all golem modules
// Re-export types
export type { GolemDef, GolemManaCost } from './types';
// Re-export data
export { GOLEMS_DEF } from './data';
// Import all golem groups
import { BASE_GOLEMS } from './base-golems';
import { ELEMENTAL_GOLEMS } from './elemental-golems';
import { HYBRID_GOLEMS } from './hybrid-golems';
// Combine all golems into GOLEMS_DEF
export const GOLEMS_DEF = {
...BASE_GOLEMS,
...ELEMENTAL_GOLEMS,
...HYBRID_GOLEMS,
};
// Re-export utility functions
export {