Skip to content

fix(build): unblock frontend (stats.js specifier)#93

Open
Cheewye wants to merge 1 commit intomainfrom
fix/frontend-build-statsjs
Open

fix(build): unblock frontend (stats.js specifier)#93
Cheewye wants to merge 1 commit intomainfrom
fix/frontend-build-statsjs

Conversation

@Cheewye
Copy link
Owner

@Cheewye Cheewye commented Jan 23, 2026

Summary

  • Error exacto: [commonjs--resolver] Missing "./src/Stats.js" specifier in "stats.js" package
  • Fix mínimo: cambiar import en shim para usar el entrypoint exportado del paquete.

Files changed

  • frontend/src/shims/stats.js

Verification

  • npm run build (PASS)

Statement

No UI/behavior changes.

📋 Checklist de Seguridad iURi

Protección del Módulo Marino

  • NO se modifica ni borra src/components/marine/*
  • NO se introduce react-leaflet (usar MapLibre o Leaflet directo)
  • Si hay WebSocket :8000 → está detrás de VITE_USE_IURI_WS flag
  • NO se renombran vars: VITE_SIGNALK_WS, VITE_MQTT_WS, VITE_VESSEL_ID

Arquitectura General

  • Sidebar/rutas: sin cambios (salvo que sea el objetivo del PR)
  • i18n actualizado en todos los idiomas (es/pt/en/...)
  • No se introducen dependencias de Three.js sin lazy-load y feature flag

Pruebas Locales

  • npm run dev abre /dashboard sin errores en consola
  • (Si stack marino levantado) scripts/sanity_stack.sh OK
  • (Obligatorio) scripts/premerge_guard.sh PASS
  • (Obligatorio) scripts/llm_diff_review.sh ejecutado (adjuntar salida)

Capturas


🧠 Salida del Guardián IA Local

Ollama LLM Diff Review
<!-- Pegar aquí la salida de: MODEL=llama3.2 bash scripts/llm_diff_review.sh -->

📝 Descripción de Cambios

🔗 Relacionado

Fixes #

@Cheewye Cheewye force-pushed the fix/frontend-build-statsjs branch from e03d50e to 9e36e0f Compare January 23, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant