fix: remove @fresh/core/client export (#2477)
These files are now referenced with https URLs.
This commit is contained in:
@@ -4,8 +4,6 @@
|
|||||||
"exports": {
|
"exports": {
|
||||||
".": "./src/mod.ts",
|
".": "./src/mod.ts",
|
||||||
"./runtime": "./src/runtime/shared.ts",
|
"./runtime": "./src/runtime/shared.ts",
|
||||||
"./client": "./src/runtime/client/mod.tsx",
|
|
||||||
"./client-dev": "./src/runtime/client/dev.ts",
|
|
||||||
"./dev": "./src/dev/mod.ts"
|
"./dev": "./src/dev/mod.ts"
|
||||||
},
|
},
|
||||||
"lock": false,
|
"lock": false,
|
||||||
@@ -39,8 +37,6 @@
|
|||||||
"$std/": "https://deno.land/std@0.216.0/",
|
"$std/": "https://deno.land/std@0.216.0/",
|
||||||
"@astral/astral": "jsr:@astral/astral@^0.4.0",
|
"@astral/astral": "jsr:@astral/astral@^0.4.0",
|
||||||
"@fresh/core": "./src/mod.ts",
|
"@fresh/core": "./src/mod.ts",
|
||||||
"@fresh/core/client": "./src/runtime/client/mod.tsx",
|
|
||||||
"@fresh/core/client-dev": "./src/runtime/client/dev.ts",
|
|
||||||
"@fresh/core/dev": "./src/dev/mod.ts",
|
"@fresh/core/dev": "./src/dev/mod.ts",
|
||||||
"@fresh/core/runtime": "./src/runtime/shared.ts",
|
"@fresh/core/runtime": "./src/runtime/shared.ts",
|
||||||
"@fresh/plugin-tailwind": "./plugin-tailwindcss/src/mod.ts",
|
"@fresh/plugin-tailwind": "./plugin-tailwindcss/src/mod.ts",
|
||||||
|
|||||||
+5
-1
@@ -119,8 +119,12 @@ export class Builder implements FreshBuilder {
|
|||||||
|
|
||||||
const buildCache = getBuildCache(app)! as MemoryBuildCache | DiskBuildCache;
|
const buildCache = getBuildCache(app)! as MemoryBuildCache | DiskBuildCache;
|
||||||
|
|
||||||
|
const runtimePath = dev
|
||||||
|
? "../runtime/client/dev.ts"
|
||||||
|
: "../runtime/client/mod.tsx";
|
||||||
|
|
||||||
const entryPoints: Record<string, string> = {
|
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 seenEntries = new Map<string, Island>();
|
||||||
const mapIslandToEntry = new Map<Island, string>();
|
const mapIslandToEntry = new Map<Island, string>();
|
||||||
|
|||||||
@@ -11,8 +11,6 @@
|
|||||||
"$marked-mangle": "https://esm.sh/marked-mangle@1.1.7",
|
"$marked-mangle": "https://esm.sh/marked-mangle@1.1.7",
|
||||||
"$std/": "https://deno.land/std@0.216.0/",
|
"$std/": "https://deno.land/std@0.216.0/",
|
||||||
"@fresh/core": "../src/mod.ts",
|
"@fresh/core": "../src/mod.ts",
|
||||||
"@fresh/core/client": "../src/runtime/client/mod.tsx",
|
|
||||||
"@fresh/core/client-dev": "../src/runtime/client/dev.ts",
|
|
||||||
"@fresh/core/dev": "../src/dev/mod.ts",
|
"@fresh/core/dev": "../src/dev/mod.ts",
|
||||||
"@fresh/core/runtime": "../src/runtime/shared.ts",
|
"@fresh/core/runtime": "../src/runtime/shared.ts",
|
||||||
"@fresh/plugin-tailwind": "../plugin-tailwindcss/src/mod.ts",
|
"@fresh/plugin-tailwind": "../plugin-tailwindcss/src/mod.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user