From 8f11a51fc8e0ee3381546e7cd1e1062d97550324 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 02 四月 2025 10:10:12 +0800
Subject: [PATCH] feat: init
---
build/plugins.ts | 2 +-
build/index.ts | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/build/index.ts b/build/index.ts
index a9b949a..301628d 100644
--- a/build/index.ts
+++ b/build/index.ts
@@ -14,6 +14,7 @@
VITE_COMPRESSION: 'none',
VITE_WEMAP_KEY: '',
VITE_CLIENT_ORIGIN: '',
+ VITE_AppType: 'one',
};
for (const envName of Object.keys(envConf)) {
diff --git a/build/plugins.ts b/build/plugins.ts
index abe1508..03e5af1 100644
--- a/build/plugins.ts
+++ b/build/plugins.ts
@@ -35,7 +35,7 @@
import path from 'path';
-import Config, from '../config/config';
+import Config from '../config/config';
import { ConfigEnv } from 'vite';
import * as hooks from '../src/hooks/global';
import { configCompressPlugin } from './compress';
--
Gitblit v1.9.1