We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
需求: 我想针对某一字体不进行压缩,设置
ignore:['dist/fonts/Pe-icon-7-stroke.*']
但是抛出了错误
>> "Pe-icon-7-stroke" did not find turetype fonts Fatal error: "Pe-icon-7-stroke" did not find turetype fonts
貌似仍然去压缩,其实
The text was updated successfully, but these errors were encountered:
可以参考 ignore 语法示例
Sorry, something went wrong.
语法貌似没错,我看compress函数里面 并没有处理 webfont.files=[] 是空的情况,我把webfonts打出来了
{ id: '85ef38f6537197370df217d3bc96a9fd', name: 'Pe-icon-7-stroke', files: [], chars: '', selectors: [ '[class*=" pe-7s-"]', '[class^=pe-7s-]' ] },
我的理解files 如果是空的话 是不是就不压缩了
对空的webfont不压缩#43
5dd1782
已经更新版本修复此问题
No branches or pull requests
需求: 我想针对某一字体不进行压缩,设置
但是抛出了错误
貌似仍然去压缩,其实
The text was updated successfully, but these errors were encountered: