Skip to content

Commit

Permalink
Added polyfills for sets, maps & requestAnimationFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
guilmola724 committed Oct 1, 2020
1 parent fc44041 commit 9e992ff
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
3 changes: 3 additions & 0 deletions client/src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import 'core-js/es6/map';
import 'core-js/es6/set';
import 'raf/polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
Expand Down
21 changes: 21 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
},
"devDependencies": {
"concurrently": "^5.3.0",
"nodemon": "^2.0.4"
"core-js": "^3.6.5",
"nodemon": "^2.0.4",
"raf": "^3.4.1"
}
}
}

0 comments on commit 9e992ff

Please sign in to comment.