import { genMessage } from '../helper';
import antdLocale from 'ant-design-vue/es/locale/zh_CN';
import momentLocale from 'moment/dist/locale/zh-cn';
import zh from './json/zh.json';

const modules = import.meta.globEager('./zh-CN/**/*.ts');
// console.log('moduleszh-CN', genMessage(modules, 'zh-CN'));
export default {
  message: {
    // ...genMessage(modules, 'zh-CN'),
    ...zh,
    antdLocale,
  },
  momentLocale,
  momentLocaleName: 'zh-cn',
};
