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

Function configResolved

packages/plugin-vite/src/plugins/server_entry.ts:43–58  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

41 isDev = env.command === "serve";
42 },
43 configResolved(config) {
44 root = config.root;
45 basePath = config.base || "/";
46 if (basePath !== "/" && !basePath.endsWith("/")) {
47 basePath += "/";
48 }
49 serverEntry = pathWithRoot(options.serverEntry, config.root);
50 serverOutDir = pathWithRoot(
51 config.environments.ssr.build.outDir,
52 config.root,
53 );
54 clientOutDir = pathWithRoot(
55 config.environments.client.build.outDir,
56 config.root,
57 );
58 },
59 resolveId: {
60 filter: {
61 id: /fresh:server_entry/,

Callers

nothing calls this directly

Calls 1

pathWithRootFunction · 0.90

Tested by

no test coverage detected