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 tried adding this lib to a browser project and with some modification in the resolve.fallback for path and fs I've managed to get it running, but when i try to compress a ttf-file it just quietly stops running. I've added a console.log() before this line and it prints just fine, but looks like it doesn't get past it:
I understand that the build is designed to run on node.js****, but wondering if you know if it's possible to either create a build for browser, or if there is a way to get it running on browser?
Cheers!
The text was updated successfully, but these errors were encountered:
Hi @opheliagame, unfortunately not, I ended up sending the font file to a node.js app and doing the conversion there. All though when I was researching this I found this library that does the conversion in the browser, maybe you can find some pointers there: https://github.com/bashi/kombu.
Hi, thanks for creating this library .
I tried adding this lib to a browser project and with some modification in the resolve.fallback for
path
andfs
I've managed to get it running, but when i try to compress a ttf-file it just quietly stops running. I've added a console.log() before this line and it prints just fine, but looks like it doesn't get past it:wawoff2/compress.js
Line 10 in 2ba7510
I understand that the build is designed to run on node.js****, but wondering if you know if it's possible to either create a build for browser, or if there is a way to get it running on browser?
Cheers!
The text was updated successfully, but these errors were encountered: