File tree Expand file tree Collapse file tree 2 files changed +2
-72
lines changed
packages/wrangler/src/autoconfig Expand file tree Collapse file tree 2 files changed +2
-72
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import { updateStatus } from "@cloudflare/cli";
55import { blue } from "@cloudflare/cli/colors" ;
66import * as recast from "recast" ;
77import semiver from "semiver" ;
8+ import { getDevCompatibilityDate } from "../../utils/compatibility-date" ;
89import { mergeObjectProperties , transformFile } from "../c3-vendor/codemod" ;
9- import { getWorkerdCompatibilityDate } from "../c3-vendor/helpers" ;
1010import { Framework , getInstalledPackageVersion } from "." ;
1111import type { ConfigurationOptions , ConfigurationResults } from "." ;
1212
@@ -46,7 +46,7 @@ async function updateViteConfig(projectPath: string) {
4646 throw new Error ( "Could not find Vite config file to modify" ) ;
4747 }
4848
49- const compatDate = await getWorkerdCompatibilityDate ( ) ;
49+ const compatDate = getDevCompatibilityDate ( undefined ) ;
5050
5151 updateStatus ( `Updating configuration in ${ blue ( viteConfigPath ) } ` ) ;
5252
You can’t perform that action at this time.
0 commit comments