Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Nov 16, 2020
1 parent e557fca commit 67e0d0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/gatsby/src/commands/build-html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ const runWebpack = (
directory
): Bluebird<webpack.Stats> =>
new Bluebird((resolve, reject) => {
if (!process.env.GATSBY_EXPERIMENTAL_DEV_SSR) {
// || stage === `build-html`) {
if (!process.env.GATSBY_EXPERIMENTAL_DEV_SSR || stage === `build-html`) {
webpack(compilerConfig).run((err, stats) => {
if (err) {
return reject(err)
Expand Down

0 comments on commit 67e0d0c

Please sign in to comment.