Doesn't work on IE11 or Safari: Object.Values
Closed this issue · 2 comments
arottersman commented
kellyi commented
We should add the babel-polyfill
library as was done in PGW:
https://github.com/azavea/pgw-community-mapping/blob/develop/src/app/webpack.common.config.js#L12
kellyi commented
Full changes are:
-
add
"babel-polyfill": "..."
to the devDependencies here: https://github.com/azavea/pwd-unitybar/blob/develop/package.json#L27 -
update this line https://github.com/azavea/pwd-unitybar/blob/develop/webpack.dev.config.js#L6 to be
app: ['babel-polyfill', './js/Demo.jsx'],