Disable image minification

parent fa8bae3e
Pipeline #417 passed with stages
in 1 minute and 51 seconds
......@@ -12,6 +12,9 @@ var mkdirp = require('mkdirp');
var path = require('path');
module.exports = function(file, targetDir, width, height) {
return path.basename(file);
}
function(file, targetDir, width, height) {
if(lwip && (width || height)) {
let tmp = path.basename(file).split('.');
tmp.splice(-1,1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment