You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix autoconfig for Astro v6 projects to skip wrangler config generation
6
+
7
+
Astro 6+ generates its own wrangler configuration on build, so autoconfig now detects the Astro version and skips creating a `wrangler.jsonc` file for projects using Astro 6 or later. This prevents conflicts between the autoconfig-generated config and Astro's built-in config generation.
Copy file name to clipboardExpand all lines: packages/wrangler/src/autoconfig/frameworks/index.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ export type PackageJsonScriptsOverrides = {
18
18
19
19
exporttypeConfigurationResults={
20
20
/** The wrangler configuration that the framework's `configure()` hook should generate. `null` if autoconfig should not create the wrangler file (in case an external tool already does that) */
21
-
wranglerConfig: RawConfig;
21
+
wranglerConfig: RawConfig|null;
22
22
// Scripts to override in the package.json. Most frameworks should not need to do this, as their default detected build command will be sufficient
0 commit comments