Skip to content

Commit

Permalink
Remove lodash.groupby now that we have all of lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jun 22, 2020
1 parent bf93ce6 commit 3d300c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/subfont.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const AssetGraph = require('assetgraph');
const prettyBytes = require('pretty-bytes');
const groupBy = require('lodash.groupby');
const _ = require('lodash');
const urlTools = require('urltools');
const util = require('util');
const subsetFonts = require('./subsetFonts');
Expand Down Expand Up @@ -269,7 +269,7 @@ module.exports = async function subfont(
maxOriginalCodePoints
);
}
const fontUsagesByFontFamily = groupBy(
const fontUsagesByFontFamily = _.groupBy(
fontUsages,
(fontUsage) => fontUsage.props['font-family']
);
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"fontkit": "^1.8.0",
"lines-and-columns": "^1.1.6",
"lodash": "^4.17.15",
"lodash.groupby": "^4.6.0",
"memoizesync": "^1.1.1",
"postcss": "^7.0.32",
"postcss-value-parser": "^4.0.2",
Expand Down

0 comments on commit 3d300c7

Please sign in to comment.