🎨(frontend) clarify type-only JS imports for better code splitting

Mark JS imports as type-only when applicable so they are stripped at
build time and ignored during chunk splitting, ensuring we take full
advantage of Rollup's code-splitting optimizations.
This commit is contained in:
lebaudantoine
2026-05-25 14:48:19 +02:00
committed by aleb_the_flash
parent 7c4f66f91e
commit bf6f7430e7
134 changed files with 180 additions and 163 deletions
@@ -1,7 +1,7 @@
import { useToast } from '@react-aria/toast'
import { useEffect, useRef } from 'react'
import { StyledToastContainer, ToastProps } from './Toast'
import { StyledToastContainer, type ToastProps } from './Toast'
import { Text } from '@/primitives'
import { RiMessage2Line } from '@remixicon/react'
import { useSidePanel } from '@/features/rooms/livekit/hooks/useSidePanel'