We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 985bc65 commit e93a642Copy full SHA for e93a642
packages/gatsby/src/utils/build-html.js
@@ -27,13 +27,11 @@ module.exports = async (program: any) => {
27
return new Promise((resolve, reject) => {
28
webpack(compilerConfig.resolve()).run((e, stats) => {
29
if (e) {
30
- console.log(e)
31
return reject(e)
32
}
33
const outputFile = `${directory}/public/render-page.js`
34
if (stats.hasErrors()) {
35
let webpackErrors = stats.toJson().errors
36
- console.log(webpackErrors)
37
return reject(
38
createErrorFromString(webpackErrors[0], `${outputFile}.map`)
39
)
0 commit comments