mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-15 03:53:16 +08:00
🔧 处理本地打包版本
This commit is contained in:
@@ -14,7 +14,7 @@ import pkgJson from "./package.json" with { type: "json" };
|
||||
import buildTimePlugin from "./src/utils/TGBuild.js";
|
||||
|
||||
const host = process.env.TAURI_DEV_HOST;
|
||||
const commitHash = (process.env.APP_VERSION || "").slice(0, 7);
|
||||
const commitHash = (process.env.APP_VERSION || "test").slice(0, 7);
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
|
||||
Reference in New Issue
Block a user