mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs: update docs for ignorePrefix
to clarify ignored files (#27065)
This commit is contained in:
parent
1c56008cfa
commit
0b8a0ad242
@ -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 ?? '-',
|
||||||
|
Loading…
Reference in New Issue
Block a user