mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-26 18:50:38 +01:00
Merge pull request #728 from orangemug/fix/disable-host-check
Disable host check for codesandbox
This commit is contained in:
commit
a572bc02a6
3 changed files with 3 additions and 2 deletions
|
@ -53,7 +53,7 @@ module.exports = {
|
|||
// See <https://webpack.js.org/configuration/watch/#watchoptions-poll> for details
|
||||
poll: (!!process.env.WEBPACK_DEV_SERVER_POLLING ? true : false),
|
||||
watch: false
|
||||
}
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
new webpack.NoEmitOnErrorsPlugin(),
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"test-watch": "cross-env NODE_ENV=test wdio config/wdio.conf.js --watch",
|
||||
"start": "webpack-dev-server --progress --profile --colors --config config/webpack.config.js",
|
||||
"start-prod": "webpack-dev-server --progress --profile --colors --config config/webpack.production.config.js",
|
||||
"start-sandbox": "webpack-dev-server --disable-host-check --host 0.0.0.0 --progress --profile --colors --config config/webpack.production.config.js",
|
||||
"lint-js": "eslint --ext js --ext jsx src test",
|
||||
"lint-css": "stylelint \"src/styles/*.scss\"",
|
||||
"lint": "npm run lint-js && npm run lint-css",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"container": {
|
||||
"startScript": "start-prod"
|
||||
"startScript": "start-sandbox"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue