Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Commit

Permalink
Merge pull request #46 from GoogleChromeLabs/object-values-shim
Browse files Browse the repository at this point in the history
Object.values() shim
  • Loading branch information
jeffposnick authored Dec 18, 2017
2 parents bcc54e5 + 7d18f31 commit 8d275fd
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
*/
'use strict';

// See https://github.com/GoogleChromeLabs/preload-webpack-plugin/issues/45
require('object.values').shim();

const objectAssign = require('object-assign');

const flatten = arr => arr.reduce((prev, curr) => prev.concat(curr), []);
Expand Down
88 changes: 88 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"webpack": "^3.2.0"
},
"dependencies": {
"object-assign": "^4.1.1"
"object-assign": "^4.1.1",
"object.values": "^1.0.4"
}
}

0 comments on commit 8d275fd

Please sign in to comment.