14 lines
258 B
TypeScript
14 lines
258 B
TypeScript
import type { UserConfig } from 'vite';
|
|
|
|
async function getCommonConfig(): Promise<UserConfig> {
|
|
return {
|
|
build: {
|
|
chunkSizeWarningLimit: 1000,
|
|
reportCompressedSize: false,
|
|
sourcemap: false,
|
|
},
|
|
};
|
|
}
|
|
|
|
export { getCommonConfig };
|