sandoche / Jekyll-webpack-boilerplate

⚡️ A boilerplate with Jekyll and Webpack to make the most performant static websites
MIT License
188 stars 57 forks source link

Adding font loading to webpack issue #47

Open thinkv opened 2 years ago

thinkv commented 2 years ago

Hi there, I was just updating to your latest files (since 2018), an issue I am having is that I can't seem to get it to process font files via webpack.

Eg. file in _scss/_font.scss

url('../_fonts/blah/blah_std_bd-webfont.ttf')  format('truetype');

The file is then placed in _font/blah/etc,

However it is never processed and placed in the output assets folder. Do you have any idea how I can fix this?