UNPKG

antd-npm-demo

Version:

React & Redux & Ant.Design

87 lines (85 loc) 2.06 kB
/* |-------------------------------------------------------------------------- | Browser-sync config file |-------------------------------------------------------------------------- | | For up-to-date information about the options: | http://www.browsersync.io/docs/options/ | | There are more options than you see here, these are just the ones that are | set internally. See the website for more info. | | */ module.exports = { "ui": { "port": 3001, "weinre": { "port": 8080 } }, "files": ['dist/client/**', '!dist/client/index.html'], "watchOptions": {}, "server": false, "proxy": 'localhost:4006', "port": 4000, "middleware": false, "ghostMode": { "clicks": true, "scroll": true, "forms": { "submit": true, "inputs": true, "toggles": true } }, "logLevel": "debug", "logPrefix": "BS", "logConnections": false, "logFileChanges": true, "logSnippet": true, "rewriteRules": false, "open": "external", "browser": "default", "xip": false, "hostnameSuffix": false, "reloadOnRestart": false, "notify": true, "scrollProportionally": true, "scrollThrottle": 0, "reloadDelay": 0, "reloadDebounce": 2000, // 间隔两秒 "injectChanges": true, "startPath": null, "minify": true, "host": null, "codeSync": true, "timestamps": true, "clientEvents": [ "scroll", "input:text", "input:toggles", "form:submit", "form:reset", "click" ], "socket": { "path": "/browser-sync/socket.io", "clientPath": "/browser-sync", "namespace": "/browser-sync", "clients": { "heartbeatTimeout": 5000 } }, "tagNames": { "less": "link", "scss": "link", "css": "link", "jpg": "img", "jpeg": "img", "png": "img", "svg": "img", "gif": "img", "js": "script" } };