mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-09 03:03:18 +00:00
fix(schema): allow ignorePrefix
to be changed (#20202)
This commit is contained in:
parent
89ab2e522d
commit
4da289d150
@ -331,7 +331,9 @@ export default defineUntypedSchema({
|
||||
* Any file in `pages/`, `layouts/`, `middleware/` or `store/` will be ignored during
|
||||
* building if its filename starts with the prefix specified by `ignorePrefix`.
|
||||
*/
|
||||
ignorePrefix: '-',
|
||||
ignorePrefix: {
|
||||
$resolve: (val) => val ?? '-',
|
||||
},
|
||||
|
||||
/**
|
||||
* More customizable than `ignorePrefix`: all files matching glob patterns specified
|
||||
|
Loading…
Reference in New Issue
Block a user