-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Error: Plugin could not be registered at 'html-webpack-plugin-before-html-generation'. Hook was not found. #4234
Comments
package updated to:
|
So it appears the GoogleFontsPlugin assumes the html-webpack-plugin is used: https://github.com/gabiseabra/google-fonts-webpack-plugin/blob/master/src/index.js#L108 I guess I'm going to need to implement the 'html-webpack-plugin-before-html-generation' hook into our plugin generating pages for us 😞 |
For now you could remove the Plugin and add the fonts via |
@ndelangen I removed GoogleFontsPlugin and now I can build my storybook. |
Bug
i'm using react-storybook v4.0.0-alpha.22 and everytime I try to build or start storybook, i get this error:
Dependencies:
Affected platforms
Webpack.config
Any ideas?
thx!
The text was updated successfully, but these errors were encountered: