Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

monorepo / venus

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 1
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • venus
  • internal
  • vite-config
  • src
  • config
  • common.ts
  • Jaxon's avatar
    feat: 添加并适配新项目 · 91142695
    Jaxon committed Jan 08, 2026
    91142695
common.ts 243 Bytes
RawBlameHistoryPermalink
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 };