You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I totally understand, right now the plugin creates a simple buffer with the contents of the file. Unfortunately this looks like it means that it can't differentiate between the two file types right now. Sadly I haven't worked on this thing in a while, but I can try and land a fix sometime in the next week for this.
I'm not really experienced with javascript and node, configuring is one thing but implementing it is another topic :) As far as I understood you're using node-mime to identify the mime-type, expanding the mime types like:
I'm currently porting a project from Grunt to Gulp - simplefont64 was the closest I could find to fontoptim. Nevertheless if I pipe in woff and woff2 files simplefont doesn't differentiate between the MIME types data:application/font-woff and data:application/x-font-woff2
See:
http://www.w3.org/TR/WOFF/#appendix-b
https://gist.github.com/sergejmueller/cf6b4f2133bcb3e2f64a
The text was updated successfully, but these errors were encountered: