Join GitHub today
Enable compilation of webfonts using webfonts-loader and webfonts-generator #305
Do you want to request a feature or report a bug?
This is a feature request
What is the current behavior?
Webfonts need to be manually compiled outside of the default process.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
All modules ending with .font.js should be processed by webfonts-loader (https://www.npmjs.com/package/webfonts-loader), the generated font should be available as an external resource loaded by css generated by the webfonts-loader.
If this is a feature request, what is the motivation or use case for changing the behavior?
In most of modern projects people use webfonts as means to include custom icons. This is a good practice as it allows to minimize the number of files that need to be downloaded thus speeding things up when loading the page.
Please mention other relevant information such as the browser version, Node.js version, Poi version and Operating System.
Yeah you can make a preset out of it. I can help if you met some problems.
btw can you show me some example projects that are using this approach (i.e. load svg as icon fonts)?
I'm working on it :) 2017-12-20 16:41 GMT+01:00 EGOIST <email@example.com>:…
I mean a preset would be nice, PR is welcome for that. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#305 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAh0CtouZSR5bF1Ffn0VeXA3Gn8F_DHkks5tCSq1gaJpZM4RCVJI> .