Skip to content

Commit

Permalink
webpack-dev-hapi plugin depends on WEBPACK_DEV also (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip authored Jun 29, 2018
1 parent a1c3abf commit ed21799
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
plugins: {
"webpack-dev": {
module: "electrode-archetype-react-app-dev/lib/webpack-dev-hapi",
enable: process.env.WEBPACK_DEV_MIDDLEWARE === "true"
enable: process.env.WEBPACK_DEV_MIDDLEWARE === "true" && process.env.WEBPACK_DEV === "true"
},
inert: {
enable: true
Expand Down

0 comments on commit ed21799

Please sign in to comment.