alby-hub/frontend
Roland d2cebc5c6f
fix: replace react-lottie with lottie-react for Vite 8 compatibility (#2546)
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>
2026-08-12 23:52:50 +07:00
..
.husky Fix: husky 10 warning (#1616) 2025-08-19 13:20:43 +07:00
platform_specific fix: remove request bodies from error logs (#2533) 2026-08-11 15:49:26 +07:00
public chore(frontend): shadcn v4 upgrade, Alby theme polish, hub logo (#2155) 2026-04-14 14:05:54 +02:00
src fix: replace react-lottie with lottie-react for Vite 8 compatibility (#2546) 2026-08-12 23:52:50 +07:00
.env.local.example chore: update additional places to support multiple relays (#2104) 2026-02-28 13:30:48 +07:00
.prettierignore feat: setup linters (#357) 2024-06-01 14:05:43 +07:00
.prettierrc feat: setup linters (#357) 2024-06-01 14:05:43 +07:00
commitlint.config.js feat: setup linters (#357) 2024-06-01 14:05:43 +07:00
components.json chore(frontend): shadcn v4 upgrade, Alby theme polish, hub logo (#2155) 2026-04-14 14:05:54 +02:00
eslint.config.mjs build(deps-dev): bump eslint-plugin-react-hooks from 7.0.1 to 7.1.1 in /frontend (#2261) 2026-04-27 16:46:41 +05:30
frontend.go feat: embed react dist in go executable 2024-01-10 12:40:15 +07:00
index.html fix: branding (#1890) 2025-11-07 09:29:10 +01:00
lint-staged.config.js fix: linting errors + migrate to new config system (#415) 2024-06-12 13:00:17 +07:00
package.json fix: replace react-lottie with lottie-react for Vite 8 compatibility (#2546) 2026-08-12 23:52:50 +07:00
tsconfig.json build(deps-dev): bump vite from 5.4.19 to 8.2.0 in /frontend (#2516) 2026-08-11 16:20:48 +05:30
tsconfig.node.json feat: frontend setup 2023-12-14 17:22:47 +05:30
vite.config.ts fix: replace react-lottie with lottie-react for Vite 8 compatibility (#2546) 2026-08-12 23:52:50 +07:00
yarn.lock fix: replace react-lottie with lottie-react for Vite 8 compatibility (#2546) 2026-08-12 23:52:50 +07:00