feat(pages): exclude 改回默认配置
This commit is contained in:
parent
20c9976025
commit
091bba983a
@ -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
|
||||
|
@ -70,6 +70,6 @@
|
||||
"type": "page"
|
||||
}
|
||||
],
|
||||
"exclude": ["components/**/**.*", "components/**.*", "pages/index/components/demo"],
|
||||
"exclude": ["**/components/**/**.*"],
|
||||
"subPackages": []
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user