-
Notifications
You must be signed in to change notification settings - Fork 724
Open
Description
From https://discord.com/channels/684898665143206084/991511118524715139/1423328498042278041
the weirdest/hardest one was windows paths being "hardcoded" into the built bundle
fresh/packages/fresh/src/dev/dev_build_cache.ts
Lines 503 to 528 in 1e94e1c
return `${EDIT_WARNING} import { IslandPreparer } from "fresh/internal"; ${islandImports} ${fsRouteImports} export const clientEntry = ${JSON.stringify(options.clientEntry)} export const version = ${JSON.stringify(options.buildId)} export const islands = new Map(); const islandPreparer = new IslandPreparer(); ${islandMarkers} export const staticFiles = new Map([ ${ staticFiles.map((def) => ` [${JSON.stringify(def.name)}, ${JSON.stringify(def)}]` ).join(",\n") } ]); export const entryAssets = [${entryAssets}]; export const fsRoutes = [ ${serializedFsRoutes} ]; `.replaceAll(/\n[\n]+/g, "\n\n");
nnmrts
Metadata
Metadata
Assignees
Labels
No labels