(config)
| 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/, |
nothing calls this directly
no test coverage detected