-
Notifications
You must be signed in to change notification settings - Fork 20
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
one-loader and gatsby #54
Comments
oh, and for some reason, I had to manually create a |
Hi @Zauberfisch Thanks for this valuable information, I personally would say - lets start with the simplest option for the moment, then work on the rest if there is demand for that. In this particular case, if documenting such use case is easier than creating a plugin - lets have documentation done first. Thanks again for your proactive approach to the project! |
ok, I guess I'll create an example project in the |
Gatsby (and probably also next.js) abstract the webpack configuration away, and therefore make normal webpack configuration as documented in the one-loader readme.
Gatsby provides hooks to append the webpack config, but in their documentation says, you should avoid editing the webpack config and always check for an existing gatsby module first.
I've got it working with the config below, but it might be worth creating a one-loader gatsby plugin.
So, should we (and is someone willing to), create a gatsby plugin?
Or should we create some documentation here to show people how to get it working manually?
The text was updated successfully, but these errors were encountered: