朱桂飞
2025-02-12 3f476e9dc149c89df5fff1513a690ff05ec545c9
1
2
3
4
5
6
7
8
9
10
11
12
13
import type { UserConfig } from 'vite';
 
async function getCommonConfig(): Promise<UserConfig> {
  return {
    build: {
      chunkSizeWarningLimit: 2000,
      reportCompressedSize: false,
      sourcemap: false,
    },
  };
}
 
export { getCommonConfig };