fix(build): 修正了打包分析的路径

This commit is contained in:
‘chen.home’ 2022-08-09 19:41:43 +08:00
parent 366795c726
commit 89da9595eb
4 changed files with 3 additions and 9 deletions

View File

@ -1,5 +1,5 @@
<div align="center">
<img src="./public/pixel.svg"/>
<img src="./public/favicon.svg"/>
<h1>Ench Admin</h1>
</div>

View File

@ -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';

View File

@ -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"]
}

View File

@ -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,
});