Siguiente comando JS Build

...
"scripts": {
    "build": "next build",
    "start": "next start",
    "export": "next export"
}
...


// build command

$ npm run build 
$ npm run start
M Hemel Hasan