Skip to content

Commit

Permalink
fix: resolve locale error in custom command.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alioth00 committed Feb 28, 2024
1 parent 90e7149 commit 808546c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/plugins/src/max/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import localePlugin from '@umijs/plugins/dist/locale';
import { logger } from '@umijs/utils';

export default (api: AlitaApi) => {
if (!['dev', 'build', 'dev-config', 'preview', 'setup'].includes(api.name))
return;

api.onStart(() => {
logger.info('Using Locale Plugin');
});
Expand Down

0 comments on commit 808546c

Please sign in to comment.