Skip to content

Commit

Permalink
refactor: remove duplicate PagesConfigFields interface (#7363)
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin authored Nov 27, 2024
1 parent a18ed4e commit 8009ab8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/wrangler/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,6 @@ export type RawConfig = Partial<ConfigFields<RawDevConfig>> &
DeprecatedConfigFields &
EnvironmentMap & { $schema?: string };

// Pages-specific configuration fields
interface PagesConfigFields {
/**
* The directory of static assets to serve.
*
* The presence of this field in a Wrangler configuration file indicates a Pages project,
* and will prompt the handling of the configuration file according to the
* Pages-specific validation rules.
*/
pages_build_output_dir?: string;
}

export interface ConfigFields<Dev extends RawDevConfig> {
configPath: string | undefined;

Expand Down

0 comments on commit 8009ab8

Please sign in to comment.