diff --git a/apps/admin/vite.config.ts b/apps/admin/vite.config.ts index 8eb7a83f..dd65cbc3 100644 --- a/apps/admin/vite.config.ts +++ b/apps/admin/vite.config.ts @@ -44,7 +44,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => { symbolId: 'icon-[dir]-[name]', }), viteMockServe({ - ignore: /^\_/, + ignore: /^_/, mockPath: 'mock', localEnabled: !isBuild, prodEnabled: isBuild,