diff --git a/packages/solutions/app-tools/src/compat/utils.ts b/packages/solutions/app-tools/src/compat/utils.ts index e25f0892456..52e3544b845 100644 --- a/packages/solutions/app-tools/src/compat/utils.ts +++ b/packages/solutions/app-tools/src/compat/utils.ts @@ -6,7 +6,9 @@ import { getModifyHtmlPartials } from '../plugins/analyze/getHtmlTemplate'; export function transformHookRunner(hookRunnerName: string) { switch (hookRunnerName) { case 'beforeConfig': - console.error('BeforeConfig Hook has deprecated'); + console.error( + 'The `beforeConfig` hook has been deprecated. Please define your code directly in the setup function instead.', + ); return undefined; case 'prepare': return 'onPrepare';