Skip to content

Commit 808546c

Browse files
committed
fix: resolve locale error in custom command.
1 parent 90e7149 commit 808546c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/plugins/src/max/locale.ts

-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ import localePlugin from '@umijs/plugins/dist/locale';
33
import { logger } from '@umijs/utils';
44

55
export default (api: AlitaApi) => {
6-
if (!['dev', 'build', 'dev-config', 'preview', 'setup'].includes(api.name))
7-
return;
8-
96
api.onStart(() => {
107
logger.info('Using Locale Plugin');
118
});

0 commit comments

Comments
 (0)