feat: add native Tomie adapter and strict import compatibility checks

This commit is contained in:
mrleo1nid committed 2026-10-25 11:02:52 +03:00
1 parent c8d83b3fe7
commit 57a4edcbfd
45 files changed
+2985 -71

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import { useEffect, useRef, useState } from "react";
import { useNavigate, useParams } from "react-router-dom";
import type { Engine } from "../player/engine";
import type { PlayerHandle } from "../player";
import { Icon } from "../ui/Icon";
export function Play() {
@@ -11,7 +11,7 @@ export function Play() {
const [error, setError] = useState("");
useEffect(() => {
let engine: Engine | null = null;
let engine: PlayerHandle | null = null;
let cancelled = false;
// the player is a separate chunk: the library UI does not pay for it
import("../player").then(({ launch }) =>