fix: remove @fresh/core/client export (#2477)

These files are now referenced with https URLs.
This commit is contained in:
Luca Casonato
2024-05-29 12:20:57 +02:00
committed by GitHub
parent 4fab47357f
commit dc283a137b
3 changed files with 5 additions and 7 deletions
+5 -1
View File
@@ -119,8 +119,12 @@ export class Builder implements FreshBuilder {
const buildCache = getBuildCache(app)! as MemoryBuildCache | DiskBuildCache;
const runtimePath = dev
? "../runtime/client/dev.ts"
: "../runtime/client/mod.tsx";
const entryPoints: Record<string, string> = {
"fresh-runtime": dev ? "@fresh/core/client-dev" : "@fresh/core/client",
"fresh-runtime": new URL(runtimePath, import.meta.url).href,
};
const seenEntries = new Map<string, Island>();
const mapIslandToEntry = new Map<Island, string>();