File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ import { createViteProxy, getBuildTime } from './build/config';
7
7
import { setupVitePlugins } from './build/plugins' ;
8
8
9
9
// https://vitejs.dev/config/
10
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
11
- // @ts -ignore
12
10
export default defineConfig ( configEnv => {
13
11
const viteEnv = loadEnv ( configEnv . mode , process . cwd ( ) ) as unknown as Env . ImportMeta ;
14
12
@@ -39,8 +37,6 @@ export default defineConfig(configEnv => {
39
37
// 检查文件路径,如果是 pages 目录下的文件,则修改文件名和路径
40
38
const filePath = chunkInfo . facadeModuleId ;
41
39
42
- console . log ( chunkInfo . name , 'filePath' ) ;
43
-
44
40
if ( filePath ) {
45
41
// 提取文件的父文件夹作为文件名
46
42
if ( filePath . includes ( '/src/pages/' ) ) {
@@ -94,9 +90,6 @@ export default defineConfig(configEnv => {
94
90
}
95
91
} ,
96
92
server : {
97
- fs : {
98
- cachedChecks : false
99
- } ,
100
93
host : '0.0.0.0' ,
101
94
open : true ,
102
95
port : 9527 ,
You can’t perform that action at this time.
0 commit comments