Fix build errors: update imports and re-exports
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m45s
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:
@@ -1,8 +1,23 @@
|
||||
// ─── Spell Enchantment Effects Index ───────────────────────────────
|
||||
// ─── Spell Enchantment Effects Index ───────────────────────
|
||||
// Re-exports all spell effects from modular files
|
||||
|
||||
// Re-export types
|
||||
export type { EnchantmentEffectDef, ALL_CASTER } from './types';
|
||||
|
||||
// Re-export data
|
||||
export { SPELL_EFFECTS } from './data';
|
||||
// Import all spell effect groups
|
||||
import { BASIC_SPELL_EFFECTS } from './basic-spells';
|
||||
import { LIGHTNING_SPELL_EFFECTS } from './lightning-spells';
|
||||
import { METAL_SPELL_EFFECTS } from './metal-spells';
|
||||
import { SAND_SPELL_EFFECTS } from './sand-spells';
|
||||
import { TIER2_SPELL_EFFECTS } from './tier2-spells';
|
||||
import { TIER3_SPELL_EFFECTS } from './tier3-spells';
|
||||
|
||||
// Combine all spell effects into SPELL_EFFECTS
|
||||
export const SPELL_EFFECTS = {
|
||||
...BASIC_SPELL_EFFECTS,
|
||||
...LIGHTNING_SPELL_EFFECTS,
|
||||
...METAL_SPELL_EFFECTS,
|
||||
...SAND_SPELL_EFFECTS,
|
||||
...TIER2_SPELL_EFFECTS,
|
||||
...TIER3_SPELL_EFFECTS,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user