diff --git a/.api/public.d.ts b/.api/public.d.ts index ae7d0e5f..e5557962 100644 --- a/.api/public.d.ts +++ b/.api/public.d.ts @@ -362,11 +362,15 @@ declare module "@cocos/ccbuild" { */ intrinsicFlags?: Record; /** - * List of uuid that the feature depend on. + * List of uuid that the feature depends on. */ dependentAssets?: string[]; /** - * List of module that the feature depend on. + * List of script uuid that the feature depends on. + */ + dependentScripts?: string[]; + /** + * List of module that the feature depends on. */ dependentModules?: string[]; /** diff --git a/modules/stats-query/src/config-interface.ts b/modules/stats-query/src/config-interface.ts index 844bf456..8e4a8f58 100644 --- a/modules/stats-query/src/config-interface.ts +++ b/modules/stats-query/src/config-interface.ts @@ -67,12 +67,17 @@ export interface Feature { intrinsicFlags?: Record; /** - * List of uuid that the feature depend on. + * List of uuid that the feature depends on. */ dependentAssets?: string[]; /** - * List of module that the feature depend on. + * List of script uuid that the feature depends on. + */ + dependentScripts?: string[]; + + /** + * List of module that the feature depends on. */ dependentModules?: string[]; diff --git a/package-lock.json b/package-lock.json index 6ae44a38..d81b88bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cocos/ccbuild", - "version": "2.2.10", + "version": "2.2.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cocos/ccbuild", - "version": "2.2.10", + "version": "2.2.11", "hasInstallScript": true, "license": "MIT", "workspaces": [ diff --git a/package.json b/package.json index 38319ec7..a58e4f4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cocos/ccbuild", - "version": "2.2.10", + "version": "2.2.11", "description": "The next generation of build tool for Cocos engine.", "main": "./lib/index.js", "types": "./lib/index.d.ts",