Skip to content

Commit

Permalink
feat: use jimp-compact
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed Aug 22, 2019
1 parent 39b3279 commit 5e37b58
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 469 deletions.
2 changes: 1 addition & 1 deletion lib/icon/resize.js
@@ -1,5 +1,5 @@
const path = require('path')
const Jimp = require('jimp')
const Jimp = require('jimp-compact')

async function resize ({ input, distDir, sizes }) {
const inputFile = await Jimp.read(input)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -19,7 +19,8 @@
"fs-extra": "^8.1.0",
"hash-sum": "^2.0.0",
"hasha": "^5.0.0",
"jimp": "^0.6.4",
"jimp-compact": "^0.6.4",
"lodash.template": "^4.5.0",
"workbox-cdn": "^4.3.1"
},
"devDependencies": {
Expand Down

0 comments on commit 5e37b58

Please sign in to comment.