Add syntax error overlay in development (#744)

* Add syntax error overlay in development

* Support HMR being disabled

* Tweak CSS
This commit is contained in:
Dan Abramov
2016-09-25 11:31:10 +01:00
committed by GitHub
parent d75a771515
commit 9cce0fb59f
6 changed files with 371 additions and 53 deletions

View File

@@ -18,12 +18,17 @@
"openChrome.applescript",
"openBrowser.js",
"prompt.js",
"WatchMissingNodeModulesPlugin.js"
"WatchMissingNodeModulesPlugin.js",
"webpackHotDevClient.js"
],
"dependencies": {
"ansi-html": "0.0.5",
"chalk": "1.1.3",
"escape-string-regexp": "1.0.5",
"opn": "4.0.2"
"html-entities": "1.2.0",
"opn": "4.0.2",
"sockjs-client": "1.0.3",
"strip-ansi": "3.0.1"
},
"peerDependencies": {
"webpack": "^1.13.2"