项目初始化

This commit is contained in:
2026-03-19 10:57:24 +08:00
commit ee94d420ad
3822 changed files with 582614 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/**
* Copyright (c) 2013-Now https://jeesite.com All rights reserved.
* No deletion without permission, or be held responsible to law.
* @author ThinkGem
*/
import type { ESBuildOptions } from 'vite';
export function createEsBuildOptions(viteEnv: ViteEnv): ESBuildOptions {
return {
drop: viteEnv.VITE_DROP_CONSOLE ? ['console', 'debugger'] : [],
};
}