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

Commit e19777f

Browse files
authored
Merge pull request #1 from GoogleChromeLabs/master
update to the latest base
2 parents 5d8a9ed + 8d275fd commit e19777f

4 files changed

Lines changed: 117 additions & 25 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,5 @@ the License.
279279
[npm-url]: https://npmjs.org/package/preload-webpack-plugin
280280
[npm-img]: https://badge.fury.io/js/preload-webpack-plugin.svg
281281
[npm-downloads-img]: https://img.shields.io/npm/dm/preload-webpack-plugin.svg?style=flat-square
282-
[daviddm-img]: https://david-dm.org/googlechrome/preload-webpack-plugin.svg
283-
[daviddm-url]: https://david-dm.org/googlechrome/preload-webpack-plugin
282+
[daviddm-img]: https://david-dm.org/googlechromelabs/preload-webpack-plugin.svg
283+
[daviddm-url]: https://david-dm.org/googlechromelabs/preload-webpack-plugin

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
*/
1717
'use strict';
1818

19+
// See https://github.com/GoogleChromeLabs/preload-webpack-plugin/issues/45
20+
require('object.values').shim();
21+
1922
const objectAssign = require('object-assign');
2023

2124
const flatten = arr => arr.reduce((prev, curr) => prev.concat(curr), []);

package-lock.json

Lines changed: 106 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "preload-webpack-plugin",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Enhances html-webpack-plugin with link rel=preload wiring capabilities for scripts",
55
"main": "index.js",
66
"scripts": {
@@ -13,7 +13,7 @@
1313
],
1414
"repository": {
1515
"type": "git",
16-
"url": "https://github.com/googlechrome/preload-webpack-plugin.git"
16+
"url": "https://github.com/googlechromelabs/preload-webpack-plugin.git"
1717
},
1818
"keywords": [
1919
"webpack",
@@ -26,9 +26,9 @@
2626
"author": "Addy Osmani <addy.osmani@gmail.com> (https://github.com/addyosmani)",
2727
"license": "Apache-2.0",
2828
"bugs": {
29-
"url": "https://github.com/googlechrome/preload-webpack-plugin/issues"
29+
"url": "https://github.com/googlechromelabs/preload-webpack-plugin/issues"
3030
},
31-
"homepage": "https://github.com/googlechrome/preload-webpack-plugin",
31+
"homepage": "https://github.com/googlechromelabs/preload-webpack-plugin",
3232
"devDependencies": {
3333
"babel-eslint": "^7.1.1",
3434
"eslint": "^3.14.1",
@@ -41,6 +41,7 @@
4141
"webpack": "^3.2.0"
4242
},
4343
"dependencies": {
44-
"object-assign": "^4.1.1"
44+
"object-assign": "^4.1.1",
45+
"object.values": "^1.0.4"
4546
}
4647
}

0 commit comments

Comments
 (0)