Closed IngwiePhoenix closed 9 years ago
Thank you for the feedback, I will look soon what I can do with this.
Added in version 0.3.0 https://github.com/sunflowerdeath/webfonts-generator#writefiles
That is amazing! Working on the loader now. Thank you a lot for implementing this for me. :)
When being done with building the fonts, there should be an option to have a
results
object in the finalizing callback, that would allow the user to choose to write the output to another location or return it, in case of a WebPack loader. Here is an example on how this would be useful:As you can see here, a font config is loaded and then processed, turned into a proper font and then emitted to the webpack. Do you think this would be possible?
As a little bonus, I have also added the idea to have the
result
object also get a function to make the CSS with the generated URLs.BTW, if the functionality was given, this code would already work! :)
Kind regards, Ingwie.