File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
packages/wrangler/src/api/integrations/platform Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " wrangler " : patch
3+ ---
4+
5+ fix: types from @cloudflare/workers-utils not being exported correctly from Wrangler
Original file line number Diff line number Diff line change @@ -19,14 +19,16 @@ import { dedent } from "../../../utils/dedent";
1919import { maybeStartOrUpdateRemoteProxySession } from "../../remoteBindings" ;
2020import { CacheStorage } from "./caches" ;
2121import { ExecutionContext } from "./executionContext" ;
22- import type { AssetsOptions } from "../../../assets" ;
23- import type { RemoteProxySession } from "../../remoteBindings" ;
24- import type { IncomingRequestCfProperties } from "@cloudflare/workers-types/experimental" ;
22+ // TODO: import from `@cloudflare/workers-utils` after migrating to `tsdown`
23+ // This is a temporary fix to ensure that the types are included in the build output
2524import type {
2625 Config ,
2726 RawConfig ,
2827 RawEnvironment ,
29- } from "@cloudflare/workers-utils" ;
28+ } from "../../../../../workers-utils/src" ;
29+ import type { AssetsOptions } from "../../../assets" ;
30+ import type { RemoteProxySession } from "../../remoteBindings" ;
31+ import type { IncomingRequestCfProperties } from "@cloudflare/workers-types/experimental" ;
3032import type {
3133 MiniflareOptions ,
3234 ModuleRule ,
You can’t perform that action at this time.
0 commit comments