Skip to content

Commit 253d961

Browse files
committed
Added some logging to figure out why the entry points aren’t being found on windows
1 parent 74c51fc commit 253d961

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/cli-v3/src/build/packageModules.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { join } from "node:path";
22
import { sourceDir } from "../sourceDir.js";
33
import { BuildTarget } from "@trigger.dev/core/v3";
4+
import { logger } from "../utilities/logger.js";
45

56
export const devRunWorker = join(sourceDir, "entryPoints", "dev-run-worker.js");
67
export const devIndexWorker = join(sourceDir, "entryPoints", "dev-index-worker.js");
@@ -68,6 +69,8 @@ function isDeployRunWorker(entryPoint: string) {
6869
}
6970

7071
export function isLoaderEntryPoint(entryPoint: string) {
72+
logger.debug("isLoaderEntryPoint", entryPoint, join("src", "entryPoints", "loader.ts"));
73+
7174
return (
7275
entryPoint.includes(join("dist", "esm", "entryPoints", "loader.js")) ||
7376
entryPoint.includes(join("src", "entryPoints", "loader.ts"))

0 commit comments

Comments
 (0)