feat(pages): exclude 改回默认配置

This commit is contained in:
Burt
2024-01-04 11:30:42 +08:00
parent 20c9976025
commit 091bba983a
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ export default defineUniPages({
* 排除的页面,相对于 dir 和 subPackages通常把这些目录里面的components里面的文件排除掉
* @default []
*/
exclude: ['components/**/**.*', 'components/**.*', 'pages/index/components/demo'],
exclude: ['**/components/**/**.*'],
/**
* subPackages 扫描的目录例如src/pages-sub
* @type SubPackage[] | undefined

View File

@@ -70,6 +70,6 @@
"type": "page"
}
],
"exclude": ["components/**/**.*", "components/**.*", "pages/index/components/demo"],
"exclude": ["**/components/**/**.*"],
"subPackages": []
}