fix: convert native.js to native.ts and fix imports for EAS builds

- Convert utils/profiles/native.js to TypeScript
- Add barrel export index.ts for profiles
- Update all imports to use explicit file paths instead of barrel export
- Fix .gitignore to only ignore root-level profiles/ directory
This commit is contained in:
Fredrik Burmester
2026-01-31 18:54:23 +01:00
parent 591d89c19f
commit 81cf672eb7
10 changed files with 35 additions and 54 deletions

View File

@@ -57,8 +57,8 @@ import {
getMpvSubtitleId,
} from "@/utils/jellyfin/subtitleUtils";
import { writeToLog } from "@/utils/log";
import { generateDeviceProfile } from "@/utils/profiles/native";
import { msToTicks, ticksToSeconds } from "@/utils/time";
import { generateDeviceProfile } from "../../../utils/profiles/native";
export default function page() {
const videoRef = useRef<MpvPlayerViewRef>(null);