Skip to content

Commit

Permalink
chore: format with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermanu committed Jul 19, 2023
1 parent 4f949c4 commit 39ad5dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/PngQuant.js
Expand Up @@ -31,7 +31,7 @@ PngQuant.getBinaryPath = memoizeAsync((cb) => {

which('pngquant', async (err, pngQuantBinaryPath) => {
if (err) {
const pngQuantModule = await import('pngquant-bin')
const pngQuantModule = await import('pngquant-bin');
pngQuantBinaryPath = pngQuantModule.default;
}
if (pngQuantBinaryPath) {
Expand Down
9 changes: 8 additions & 1 deletion rollup.config.js
@@ -1,4 +1,11 @@
const external = ['child_process', 'stream', 'util', 'which', 'memoizeasync', 'pngquant-bin'];
const external = [
'child_process',
'stream',
'util',
'which',
'memoizeasync',
'pngquant-bin',
];

export default [
{
Expand Down

0 comments on commit 39ad5dd

Please sign in to comment.