-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[email protected] not working with [email protected] #24
Comments
I have the same issue. anyone can update this? |
I've imported the Google fonts into my css file like this:
That is working fine on dev and production. |
I am having the same issue. Doesn't seem to be compatible with webpack 4. I am new to webpack or else I'd fix this right now. I think it's pretty awesome to just let webpack handle google fonts.
|
The plugin needs to update html-webpack-plugin, webpack 4 changed the way plugins communicate. |
It seems that #22 fixes the callback issue but still has to be merged (still the deprecation warning for the Tapable.plugin is present but the plugin works with Webpack 4 if @navelpluisje branch is used). |
@gabiseabra Can you merge the fixes for webpack4? |
+1 |
I'm running webpack at 4.20.0 and I'm trying to use this plugin at version 0.4.4. I'm getting the same error as @ameshkin , which renders this plugin unusable in the future. |
This package has solved this for me https://github.com/beyonk-adventures/google-fonts-webpack-plugin , its compatible with Webpack 4. |
When I try to use
[email protected]
with[email protected]
and[email protected]
I am getting the following errors and the code won't compile:(node:73383) DeprecationWarning: Tapable.plugin is deprecated. Use new API on
.hooksinstead
Here is the set up in
webpack.config
:var GoogleFontsPlugin = require('google-fonts-webpack-plugin');
I have used similar code in webpack v3 and was easily able to use Google fonts.
The text was updated successfully, but these errors were encountered: