Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Use a polyfill for fetch #4

Merged
merged 1 commit into from
Sep 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"@kadira/storybook-database": "^2.0.1",
"body-parser": "^1.15.2",
"lodash": "^4.15.0",
"lowdb": "^0.13.1"
"lowdb": "^0.13.1",
"whatwg-fetch": "^1.0.0"
},
"peerDependencies": {
"express": "^4.0.0"
Expand Down
1 change: 1 addition & 0 deletions src/client/bundledPersister.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'whatwg-fetch';
import lowdb from 'lowdb';
import lodash from 'lodash';
import Database from '../shared/database';
Expand Down
2 changes: 2 additions & 0 deletions src/client/devServerPersister.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'whatwg-fetch';

export default class DevServerPersister {
constructor({ url }) {
this.url = url;
Expand Down