提交 216efa52 编写于 作者: D Dan Zajdband 提交者: GitHub

Using developit/unfetch as the Fetch API polyfill (#1278)

上级 8a6c57de
......@@ -10,7 +10,7 @@ import { _notifyBuildIdMismatch } from './'
// Add "fetch" polyfill for older browsers
if (typeof window !== 'undefined') {
require('whatwg-fetch')
require('unfetch/polyfill')
}
export default class Router extends EventEmitter {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册