From 0b8a0ad242d7289aac2cd5467a011aa6df7e550f Mon Sep 17 00:00:00 2001 From: ynnsuis <110542210+sossost@users.noreply.github.com> Date: Tue, 7 May 2024 21:05:15 +0900 Subject: [PATCH] docs: update docs for `ignorePrefix` to clarify ignored files (#27065) --- packages/schema/src/config/common.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/schema/src/config/common.ts b/packages/schema/src/config/common.ts index c4fd5640a0..a5bea18ae6 100644 --- a/packages/schema/src/config/common.ts +++ b/packages/schema/src/config/common.ts @@ -397,8 +397,10 @@ export default defineUntypedSchema({ ignoreOptions: undefined, /** - * Any file in `pages/`, `layouts/`, `middleware/` or `store/` will be ignored during - * building if its filename starts with the prefix specified by `ignorePrefix`. + * Any file in `pages/`, `layouts/`, `middleware/`, and `public/` directories will be ignored during + * 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: { $resolve: val => val ?? '-',