From 7bd866831780abcf5a59c4cbb7d1be456eea7c99 Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期五, 14 八月 2026 10:13:57 +0800
Subject: [PATCH] add shop module

---
 packages/vite-plugin/src/config.ts |   28 ++++------------------------
 1 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/packages/vite-plugin/src/config.ts b/packages/vite-plugin/src/config.ts
index 7292230..dec5bf7 100644
--- a/packages/vite-plugin/src/config.ts
+++ b/packages/vite-plugin/src/config.ts
@@ -1,10 +1,9 @@
-import type { Type } from "../types";
+import type { Config } from "../types";
 
-export const config = {
-	type: "admin" as Type,
+export const config: Config.Data = {
+	type: "admin",
 	reqUrl: "",
 	demo: false,
-	nameTag: true,
 	eps: {
 		enable: true,
 		api: "",
@@ -12,7 +11,7 @@
 		mapping: [
 			{
 				// 鑷畾涔夊尮閰�
-				custom: ({ propertyName, type }: { propertyName: string; type: string }) => {
+				custom: ({ propertyName, type }) => {
 					// 濡傛灉娌℃湁锛岃繑鍥瀗ull鎴栬�呬笉杩斿洖锛屽垯缁х画閬嶅巻鍏朵粬鍖归厤瑙勫垯
 					return null;
 				},
@@ -37,25 +36,6 @@
 				type: "BigInt",
 				test: ["bigint"],
 			},
-			{
-				type: "any",
-				test: ["json"],
-			},
 		],
 	},
-	svg: {
-		skipNames: ["base"],
-	},
-	tailwind: {
-		enable: true,
-		remUnit: 14,
-		remPrecision: 6,
-		rpxRatio: 2,
-		darkTextClass: "dark:text-surface-50",
-	},
-	uniapp: {
-		isPlugin: false,
-	},
-	clean: false,
-	utsPlatform: "web",
 };

--
Gitblit v1.9.1