fix(vite): npm resolution + cjs + duplicated preact signals (#3211)

This commit is contained in:
Marvin Hagemeister
2025-08-16 19:26:39 +02:00
committed by GitHub
parent 71071171ed
commit 59549c9532
18 changed files with 1047 additions and 466 deletions
@@ -0,0 +1 @@
export { RemoteIsland } from "@marvinh-test/fresh-island";
@@ -1,12 +1,11 @@
import * as mime from "mime-db";
import mime from "mime-db";
import { useEffect, useState } from "preact/hooks";
export function MimeIsland() {
// deno-lint-ignore no-console
console.log(mime);
const [ready, setReady] = useState(false);
useEffect(() => {
// deno-lint-ignore no-console
console.log(mime);
setReady(true);
}, []);
@@ -0,0 +1,5 @@
import { RemoteIsland } from "@marvinh-test/fresh-island";
export default function Page() {
return <RemoteIsland />;
}