Skip to content

Commit

Permalink
docs: update docs for ignorePrefix to clarify ignored files (#27065)
Browse files Browse the repository at this point in the history
  • Loading branch information
sossost committed May 7, 2024
1 parent 1c56008 commit 0b8a0ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/schema/src/config/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ?? '-',
Expand Down

0 comments on commit 0b8a0ad

Please sign in to comment.