Skip to content

Commit f5b3fb5

Browse files
authored
remove old assets remote check (#7675)
1 parent 8ab13b2 commit f5b3fb5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/wrangler/src/api/startDevWorker/ConfigController.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -315,12 +315,6 @@ async function resolveConfig(
315315
);
316316
}
317317

318-
if (resolved.assets && resolved.dev.remote) {
319-
throw new UserError(
320-
"Cannot use assets in remote mode. Workers with assets are only supported in local mode. Please use `wrangler dev`."
321-
);
322-
}
323-
324318
if (
325319
extractBindingsOfType("browser", resolved.bindings).length &&
326320
!resolved.dev.remote

0 commit comments

Comments
 (0)