mirror of
https://github.com/HackPlan/imagemin-mozjpeg.git
synced 2026-04-30 20:32:27 +08:00
9 lines
236 B
JavaScript
9 lines
236 B
JavaScript
'use strict';
|
|
const path = require('path');
|
|
const BinWrapper = require('bin-wrapper');
|
|
|
|
module.exports = new BinWrapper()
|
|
.dest(path.resolve(__dirname, './vendor'))
|
|
.use(process.platform === 'win32' ? 'cjpeg.exe' : 'cjpeg')
|
|
.path();
|