[Feature request]vuepress build
should throw the Error directly
#598
Labels
type: feature request
Request to add a new feature
Feature request
What problem does this feature solve?
When
vuepress dev
, it's okey for a Vue Component to approachBrowser Side Api
likenavigator.userAgent
. But this can be wrong whenvuepress build
. Which means the user may ignore the potential mistakes when hepush
his code.Recently I am trying to build a CONTINUOUS INTEGRATION with Jenkins to build vuepress docs automatically for my coworkers. VuePress catch the Error by itself when
build
, which makes the Jenkins scripts have no idea that there is something wrong with the build process. So I can't suggest the coworker to build locally to find out if there is anything abnormal.What does the proposed API look like?
vuepress build
should throw the Error directly. Or in some particular way, user can tell VuePress to throw the Error when something abnormal occurs.How should this be implemented in your opinion?
Are you willing to work on this yourself?**
I'm not sure.
The text was updated successfully, but these errors were encountered: