From 43fd1b3ae2ee65bf89be1b7aaec02c5d4feec1ce Mon Sep 17 00:00:00 2001 From: Asuka109 Date: Fri, 6 Dec 2024 14:56:41 +0800 Subject: [PATCH] feat: remove `devtools` field from app tools configurations (#6513) --- packages/solutions/app-tools/src/config/legacy/index.ts | 1 - packages/solutions/app-tools/src/types/config/index.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/solutions/app-tools/src/config/legacy/index.ts b/packages/solutions/app-tools/src/config/legacy/index.ts index c5af88679c5a..d8a0f0d3673f 100644 --- a/packages/solutions/app-tools/src/config/legacy/index.ts +++ b/packages/solutions/app-tools/src/config/legacy/index.ts @@ -41,7 +41,6 @@ export function transformNormalizedConfig( server, cliOptions, testing, - devtools: {}, builderPlugins: [], plugins: plugins as any, security: {}, diff --git a/packages/solutions/app-tools/src/types/config/index.ts b/packages/solutions/app-tools/src/types/config/index.ts index 29fb70ce1c59..a05096288410 100644 --- a/packages/solutions/app-tools/src/types/config/index.ts +++ b/packages/solutions/app-tools/src/types/config/index.ts @@ -46,7 +46,6 @@ export interface AppToolsUserConfig { testing?: TestingUserConfig; builderPlugins?: Array; performance?: PerformanceUserConfig; - devtools?: any; environments?: RsbuildConfig['environments']; }