Verbose Build option to be able to track down errors #422
Labels
build
Related to the build system
enhancement
New feature or request
stale
upstream
Related to the dependencies
Is your feature request related to a problem? Please describe.
I'm getting an opaque build error when trying to build a vitepress site which works without issue during dev (i.e. npm run docs:dev) but fails during build.
I would like extra info during the build, like which page or component failed to renderer so there's some hope in being able to track it down.
Describe the solution you'd like
Ideally the extra info of what Page and Component failed to render would be included in the error message by default, alternatively being able to run the build with verbose build output, e.g:
Describe alternatives you've considered
Couldn't find a way to generate verbose build output, e.g:
I wasn't able to find what the supported switches for the build command are, it would be nice if the available command options was available in the standard help options, e.g:
$ vitepress build -h $ vitepress build --help $ vitepress build ?
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: