File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
packages/cli-v3/src/commands Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -1170,9 +1170,6 @@ async function compileProject(
1170
1170
) ;
1171
1171
}
1172
1172
1173
- const jsProject = new JavascriptProject ( config . projectDir ) ;
1174
- const directDependenciesMeta = await jsProject . extractDirectDependenciesMeta ( ) ;
1175
-
1176
1173
const result = await build ( {
1177
1174
stdin : {
1178
1175
contents : workerContents ,
@@ -1200,7 +1197,7 @@ async function compileProject(
1200
1197
mockServerOnlyPlugin ( ) ,
1201
1198
bundleDependenciesPlugin (
1202
1199
"workerFacade" ,
1203
- directDependenciesMeta ,
1200
+ { } ,
1204
1201
config . dependenciesToBundle ,
1205
1202
config . tsconfigPath
1206
1203
) ,
@@ -1257,7 +1254,7 @@ async function compileProject(
1257
1254
plugins : [
1258
1255
bundleDependenciesPlugin (
1259
1256
"entryPoint.ts" ,
1260
- directDependenciesMeta ,
1257
+ { } ,
1261
1258
config . dependenciesToBundle ,
1262
1259
config . tsconfigPath
1263
1260
) ,
Original file line number Diff line number Diff line change @@ -484,6 +484,7 @@ function useDev({
484
484
bundleTriggerDevCore ( "workerFacade" , config . tsconfigPath ) ,
485
485
bundleDependenciesPlugin (
486
486
"workerFacade" ,
487
+ { } ,
487
488
( config . dependenciesToBundle ?? [ ] ) . concat ( [ / ^ @ t r i g g e r .d e v / ] ) ,
488
489
config . tsconfigPath
489
490
) ,
You can’t perform that action at this time.
0 commit comments