You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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!
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: