google-fonts-plugin
google-fonts-plugin copied to clipboard
It just downloads woff/woff2 css, how to integrate it with html-webpack-plugin and webpack4?
having the same Problem. Font is downloaded and saved in .woff file in my dist folder. But how to integrate it in the Application? Font is not loaded.
as a workaround just add this to your head of the index.html file:
<link rel="stylesheet" type="text/css" href="woff.css" />
The Problem is maybe the HtmlWebpackPlugin. The Junk is not injected into the index.html
Seconding this. Not having to insert a <link> is much more cleaner.