We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b568aaa commit 47e1549Copy full SHA for 47e1549
scripts/build.js
@@ -114,7 +114,9 @@ checkBrowsers(paths.appPath, isInteractive)
114
}
115
)
116
.catch(err => {
117
- if (err && err.message) {
+ if (err && process.env.NODE_ENV === 'development') {
118
+ console.log(err)
119
+ } else {
120
console.error('An unexpected error occurred while build')
121
122
process.exit(1)
scripts/start.js
@@ -111,7 +111,9 @@ checkBrowsers(paths.appPath, isInteractive)
111
})
112
113
console.error('An error occurred while starting the development server')
0 commit comments