1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Add EventSource polyfill to hot-middleware-client (#3945)

* Move security related test cases into a its own file.

* Removes the unused renderScript function

* Add a nerv example. (#3573)

* Add a nerv example.

* Fix for indentation/style

* Fix for name

* Release 5.0.0

* Add multi-zones docs. (#3688)

* with emotion example - hoist styles out of the index page component (#3821)

* Use indexOf instead of startsWith (#3758)

* Use indexOf instead of startsWith

This fixes an IE11 regression, see #3755

* Lint the code

* Add event-source-polyfill

Fixes an issue where the dev server crashes in IE11.
This commit is contained in:
Jeremy Stucki 2018-03-06 12:55:03 +01:00 committed by Arunoda Susiripala
parent 76582b8e43
commit edfd44c3ca
3 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,4 @@
import 'event-source-polyfill'
import webpackHotMiddlewareClient from 'webpack-hot-middleware/client?autoConnect=false'
import Router from '../lib/router'

View file

@ -72,6 +72,7 @@
"cross-spawn": "5.1.0",
"del": "3.0.0",
"etag": "1.8.1",
"event-source-polyfill": "0.0.12",
"find-up": "2.1.0",
"fresh": "0.5.2",
"friendly-errors-webpack-plugin": "1.6.1",

View file

@ -2499,6 +2499,10 @@ event-emitter@~0.3.5:
d "1"
es5-ext "~0.10.14"
event-source-polyfill@0.0.12:
version "0.0.12"
resolved "https://registry.yarnpkg.com/event-source-polyfill/-/event-source-polyfill-0.0.12.tgz#e539cd67fdef2760a16aa5262fa98134df52e3af"
events@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"