Making LIVE_RELOAD configurable

This commit is contained in:
David Négrier 2021-12-03 09:23:52 +01:00
parent bf830a67cb
commit 9bba6069b4
2 changed files with 14 additions and 4 deletions

View file

@ -32,6 +32,7 @@ module.exports = {
rewrites: [{ from: /^_\/.*$/, to: "/index.html" }],
disableDotRule: true,
},
liveReload: process.env.LIVE_RELOAD != "0" && process.env.LIVE_RELOAD != "false",
},
module: {
rules: [