Compile NextJS Application after build to an executable

498 Views Asked by At

I want to turn a built next js application into an executable using nexe or pkg.

After building my next js application the .next folder contains NextJS .next folder after build

I want to use the pkg or nexe node packages to turn my application into an executable, the user will run it, a terminal will display that a server is listening on port 3000 finally the user opens the browser and he is able to use the app. I'm struggling to integrate these packages to attain my goal.

Any suggestions ?

0

There are 0 best solutions below