saltyshiomix / nextron

⚡ Next.js + Electron ⚡
https://npm.im/nextron
MIT License
3.69k stars 215 forks source link

Failed to build when using nextjs version>=13.4 #385

Closed hjzccc closed 11 months ago

hjzccc commented 11 months ago

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: image 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