mirror of
https://github.com/maputnik/editor.git
synced 2026-07-18 03:47:27 +00:00
Try disable host check for codesandbox.
This commit is contained in:
@@ -53,7 +53,8 @@ module.exports = {
|
|||||||
// See <https://webpack.js.org/configuration/watch/#watchoptions-poll> for details
|
// See <https://webpack.js.org/configuration/watch/#watchoptions-poll> for details
|
||||||
poll: (!!process.env.WEBPACK_DEV_SERVER_POLLING ? true : false),
|
poll: (!!process.env.WEBPACK_DEV_SERVER_POLLING ? true : false),
|
||||||
watch: false
|
watch: false
|
||||||
}
|
},
|
||||||
|
disableHostCheck: (process.env.CODESANDBOX_SSE === "true"),
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.NoEmitOnErrorsPlugin(),
|
new webpack.NoEmitOnErrorsPlugin(),
|
||||||
|
|||||||
Reference in New Issue
Block a user