beyonk-group / google-fonts-webpack-plugin

47 stars 24 forks source link

Cache downloaded fonts #3

Closed subins2000 closed 4 years ago

subins2000 commented 4 years ago

This will cache the downloaded zip file in temp folder and use it in subsequent uses. This speeds up compilation in Vue's serve or webpack-dev-server's serve after making changes to files.

antony commented 4 years ago

Releasing as v1.4.0 as we speak :)

dakur commented 4 years ago

You've made my day @subins2000, thank you very much!

jacobg commented 3 years ago

This doesn't seem to take effect. I'm running v1.5.0, and getting build error due to https://google-webfonts-helper.herokuapp.com/api/fonts returning 503 currently. I've run builds before, so shouldn't it be cached?

jacobg commented 3 years ago

Having issue again now on version 1.5.0:

40% building 58/89 modules 31 active /Users/j/workspace/f/console/node_modules/@fortawesome/pro-solid-svg-icons/index.es.js(node:14651) UnhandledPromiseRejectionWarning: Error: Service Unavailable