New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update jsdoc for ignore-prefix to clarify ignored files #27065
Conversation
Run & review this pull request in StackBlitz Codeflow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove stylistic changes from the PR
packages/schema/src/config/common.ts
Outdated
@@ -397,8 +442,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/`, `store/`, and `public/` directories will be ignored during |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think store
can be removed here (was Nuxt 2 specific).
Besides that, it'd be good to check in the code which other parts are affected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manniL oh. I'm sorry. I ran lint:fix to see if stylistic changes are allowed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, if they are from lint:fix that that's fine 馃檲
馃敆 Linked issue
#27064
馃摎 Description
This commit updates the JSDoc comments to clarify the behavior of the
ignorePrefix
setting in the configuration. The updated documentation now explicitly states that any file inpages/
,layouts/
,middleware/
,store/
, andpublic/
directories will be ignored during the build process if its filename starts with the prefix specified byignorePrefix
.