Refactor(BaseManagement): Optimize the filter of entry file
This commit is contained in:
@@ -304,7 +304,10 @@ const Base = () => {
|
|||||||
![
|
![
|
||||||
IMPORT_MAP_FILE_NAME,
|
IMPORT_MAP_FILE_NAME,
|
||||||
TS_CONFIG_FILE_NAME
|
TS_CONFIG_FILE_NAME
|
||||||
].includes(value)
|
].includes(value) &&
|
||||||
|
!value.endsWith('.d.ts') &&
|
||||||
|
!value.endsWith('.css') &&
|
||||||
|
!value.endsWith('.json')
|
||||||
)
|
)
|
||||||
.map((value) => ({ value, label: value }))}
|
.map((value) => ({ value, label: value }))}
|
||||||
placeholder={'请选择入口文件'}
|
placeholder={'请选择入口文件'}
|
||||||
|
|||||||
Reference in New Issue
Block a user