docs: update docs for ignorePrefix to clarify ignored files (#27065)

This commit is contained in:
ynnsuis 2024-05-07 21:05:15 +09:00 committed by GitHub
parent 1c56008cfa
commit 0b8a0ad242
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -397,8 +397,10 @@ export default defineUntypedSchema({
ignoreOptions: undefined, ignoreOptions: undefined,
/** /**
* Any file in `pages/`, `layouts/`, `middleware/` or `store/` will be ignored during * Any file in `pages/`, `layouts/`, `middleware/`, and `public/` directories will be ignored during
* building if its filename starts with the prefix specified by `ignorePrefix`. * the build process if its filename starts with the prefix specified by `ignorePrefix`. This is intended to prevent
* certain files from being processed or served in the built application.
* By default, the `ignorePrefix` is set to '-', ignoring any files starting with '-'.
*/ */
ignorePrefix: { ignorePrefix: {
$resolve: val => val ?? '-', $resolve: val => val ?? '-',