From 89da9595eb1133cc2bfec81c217fe59cc0596355 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=98chen=2Ehome=E2=80=99?= <1147347984@qq.com>
Date: Tue, 9 Aug 2022 19:41:43 +0800
Subject: [PATCH] =?UTF-8?q?fix(build):=20=E4=BF=AE=E6=AD=A3=E4=BA=86?=
=?UTF-8?q?=E6=89=93=E5=8C=85=E5=88=86=E6=9E=90=E7=9A=84=E8=B7=AF=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
build/plugins/index.ts | 2 +-
tsconfig.json | 2 +-
visualizer.ts | 6 ------
4 files changed, 3 insertions(+), 9 deletions(-)
delete mode 100644 visualizer.ts
diff --git a/README.md b/README.md
index 34b8715..15e8dd6 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-

+
Ench Admin
diff --git a/build/plugins/index.ts b/build/plugins/index.ts
index 54ccdd6..7476e0a 100644
--- a/build/plugins/index.ts
+++ b/build/plugins/index.ts
@@ -2,7 +2,7 @@ import vue from './vue';
import compress from './compress';
import html from './html';
import unocss from './unocss';
-import visualizer from '../../visualizer';
+import visualizer from './visualizer';
import unplugin from './unplugin';
import mock from './mock';
diff --git a/tsconfig.json b/tsconfig.json
index fa14b4c..afcffae 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -21,6 +21,6 @@
},
"types": ["node", "vite/client", "naive-ui/volar"]
},
- "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
+ // "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
"exclude": ["node_modules", "dist"]
}
diff --git a/visualizer.ts b/visualizer.ts
deleted file mode 100644
index eea8649..0000000
--- a/visualizer.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { visualizer } from 'rollup-plugin-visualizer'; // https://github.com/btd/rollup-plugin-visualizer
-export default visualizer({
- gzipSize: true,
- brotliSize: true,
- open: true,
-});