Closed KnowsCount closed 4 years ago
Sorry, this is kinda unmaintained, probably not compatible with the latest webpack version
https://webpack.js.org/concepts/plugins/#configuration Here's what a more complete config looks like, but configuring webpack in general is not super trivial, especially with something like a full react project, and something you'd probably want to avoid if you're just getting started with js/ts
Here's an example of how you'd add a plugin with next: https://github.com/tinacms/tinacms.org/blob/master/next.config.js#L47
Cheers for ur reply! (I literally just looked into tinacms a few minutes before your response lol)
I know, looked at something you might have worked on that uses webpack in some way 🙈
Sorry I am so noob on this, but I don't know what to do after a few steps, I:
mkdir Jarvis && cd Jarv*
npm i -D webpack-jarvis
And then, according to the tutorial, one must add these code below to a 'webpack config' file:
I have no idea at all what that is & have no idea at all where that is, however, I found a 'webpack.js' file in this GitHub repo, link, nevertheless, cloning this and editing this file would not work (I suppose), whilst I cannot find any other way, the only thing I can do is to ask here. 😂 Cheers for any reply, and again, I am bloody hell noob...