mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
Vite 8 changed CJS default-import interop: with "type": "module" set, a default import of a CJS dependency now resolves to the whole module.exports object instead of its .default export. react-lottie is CJS-only, so <Lottie> received an object as the element type and crashed LottieLoading/LottieSuccess with "Element type is invalid". Swap to the maintained, ESM-built lottie-react, aliasing it to its ES build since its browser field points at a UMD build with the same interop hazard. No other dependency is affected by the interop change. Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .husky | ||
| platform_specific | ||
| public | ||
| src | ||
| .env.local.example | ||
| .prettierignore | ||
| .prettierrc | ||
| commitlint.config.js | ||
| components.json | ||
| eslint.config.mjs | ||
| frontend.go | ||
| index.html | ||
| lint-staged.config.js | ||
| package.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| yarn.lock | ||