Commit a8b6cfd7 authored by rockyl's avatar rockyl

修改下载源

parent a8d54c65
...@@ -3,7 +3,8 @@ const path = require('path'); ...@@ -3,7 +3,8 @@ const path = require('path');
const BinWrapper = require('bin-wrapper'); const BinWrapper = require('bin-wrapper');
const pkg = require('../package.json'); const pkg = require('../package.json');
const url = `https://raw.githubusercontent.com/imagemin/pngquant-bin/v${pkg.version}/vendor/`; //const url = `https://raw.githubusercontent.com/imagemin/pngquant-bin/v${pkg.version}/vendor/`;
const url = `http://gitlab2.dui88.com/laoqifeng/pngquant-bin/raw/master/vendor/`;
module.exports = new BinWrapper() module.exports = new BinWrapper()
.src(`${url}macos/pngquant`, 'darwin') .src(`${url}macos/pngquant`, 'darwin')
......
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