({
cwd,
env = {},
}: {
cwd: string;
env?: Record<string, string>;
})
| 292 | } as const; |
| 293 | |
| 294 | export const build = ({ |
| 295 | cwd, |
| 296 | env = {}, |
| 297 | }: { |
| 298 | cwd: string; |
| 299 | env?: Record<string, string>; |
| 300 | }) => { |
| 301 | let nodeBin = process.argv[0]; |
| 302 | |
| 303 | return spawnSync(nodeBin, [reactRouterBin, "build"], { |
| 304 | cwd, |
| 305 | env: { |
| 306 | ...process.env, |
| 307 | ...colorEnv, |
| 308 | ...env, |
| 309 | }, |
| 310 | }); |
| 311 | }; |
| 312 | |
| 313 | export const reactRouterServe = async ({ |
| 314 | cwd, |
no outgoing calls
no test coverage detected
searching dependent graphs…