Skip to content

Commit be3157a

Browse files
committed
Don’t yet auto-bundle monorepo dependencies
1 parent ae9a8b0 commit be3157a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/cli-v3/src/commands/deploy.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,9 +1170,6 @@ async function compileProject(
11701170
);
11711171
}
11721172

1173-
const jsProject = new JavascriptProject(config.projectDir);
1174-
const directDependenciesMeta = await jsProject.extractDirectDependenciesMeta();
1175-
11761173
const result = await build({
11771174
stdin: {
11781175
contents: workerContents,
@@ -1200,7 +1197,7 @@ async function compileProject(
12001197
mockServerOnlyPlugin(),
12011198
bundleDependenciesPlugin(
12021199
"workerFacade",
1203-
directDependenciesMeta,
1200+
{},
12041201
config.dependenciesToBundle,
12051202
config.tsconfigPath
12061203
),
@@ -1257,7 +1254,7 @@ async function compileProject(
12571254
plugins: [
12581255
bundleDependenciesPlugin(
12591256
"entryPoint.ts",
1260-
directDependenciesMeta,
1257+
{},
12611258
config.dependenciesToBundle,
12621259
config.tsconfigPath
12631260
),

packages/cli-v3/src/commands/dev.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ function useDev({
484484
bundleTriggerDevCore("workerFacade", config.tsconfigPath),
485485
bundleDependenciesPlugin(
486486
"workerFacade",
487+
{},
487488
(config.dependenciesToBundle ?? []).concat([/^@trigger.dev/]),
488489
config.tsconfigPath
489490
),

0 commit comments

Comments
 (0)