admin-vben/internal/vite-config/src/config/common.ts

14 lines
258 B
TypeScript
Raw Normal View History

2024-05-19 13:20:42 +00:00
import type { UserConfig } from 'vite';
async function getCommonConfig(): Promise<UserConfig> {
return {
build: {
chunkSizeWarningLimit: 1000,
reportCompressedSize: false,
sourcemap: false,
},
};
}
export { getCommonConfig };