Next.js Discord

Discord Forum

webpack config does not work with app directory

Unanswered
oxmaster posted this in #help-forum
Open in Discord
It's just such a problem that I saw from bloggers, they used webpack config with version 12 next.js and everything worked for them, but it doesn't work for me with the app directory, for example, here is such a library:
Maybe it's because I use a turbopack and it doesn't support all webpack libraries.

3 Replies

nextjs v12 (pages) is very different to nextjs 14/13 app dir for starters...
also your point of turbopack is probably right
sad, well, okay. I just saw that the library's official website supports next.js is there. I think I just ran it in normal dev mode, and it didn't work either