I am trying to use electron with nextjs 13.4 new app dir, but when I try to build it, it seems has some problems with the bundler, it will pack the source code inside node_modules/electron/index.js into my code:
this error seems just happpens with app dir, when I use pages dir even with version >=13.4 it works fine, does anyone know how to resolve this since I see a couple of posts have some workaround with nextjs 13.4
I am trying to use electron with nextjs 13.4 new app dir, but when I try to build it, it seems has some problems with the bundler, it will pack the source code inside node_modules/electron/index.js into my code:
this error seems just happpens with app dir, when I use pages dir even with version >=13.4 it works fine, does anyone know how to resolve this since I see a couple of posts have some workaround with nextjs 13.4