MCPcopy
hub / github.com/freshframework/fresh / configResolved

Function configResolved

packages/plugin-vite/src/plugins/server_snapshot.ts:55–72  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

53 isDev = env.command === "serve";
54 },
55 configResolved(config) {
56 root = config.root;
57
58 clientOutDir = pathWithRoot(
59 config.environments.client.build.outDir,
60 config.root,
61 );
62 serverOutDir = pathWithRoot(
63 config.environments.ssr.build.outDir,
64 config.root,
65 );
66
67 options.islandSpecifiers.forEach((name, spec) => {
68 islands.set(spec, { name, chunk: null });
69 islandSpecByName.set(name, spec);
70 // islandsByFile.add(spec);
71 });
72 },
73 configureServer(viteServer) {
74 server = viteServer;
75

Callers

nothing calls this directly

Calls 1

pathWithRootFunction · 0.90

Tested by

no test coverage detected