Change codesandbox check.

This commit is contained in:
orangemug 2020-09-09 14:46:09 +01:00
parent 553b17822d
commit 6ca2af7f8a

View file

@ -54,7 +54,7 @@ module.exports = {
poll: (!!process.env.WEBPACK_DEV_SERVER_POLLING ? true : false),
watch: false
},
disableHostCheck: (process.env.CODESANDBOX_SSE === "true"),
disableHostCheck: !!process.env.CODESANDBOX_SSE,
},
plugins: [
new webpack.NoEmitOnErrorsPlugin(),