Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有个老系统还在用fis3,刚刚升级就_handle.Pngquant is not a constructor 了 #1301

Open
suinia opened this issue Dec 27, 2019 · 2 comments

Comments

@suinia
Copy link

suinia commented Dec 27, 2019

坑啊。

@oxUnd
Copy link
Contributor

oxUnd commented Jan 8, 2020 via email

@JEFF-happy
Copy link

// 开启图片压缩
fis.match('.png', {
optimizer: fis.plugin('png-compressor', {
type: 'pngquant'
})
});
把这个关掉 就不报错了
然后重新安装压缩插件
npm install fis3-optimizer-img-compressor
配置改成
fis.match('
.png', {
optimizer: fis.plugin('img-compressor')
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants