There's a issue #143 that refers to the same problem.
When you want to test offline of the web app, simply use yarn start instead of yarn dev.
It does not make sense since you have to run next build && next start every time you make changes to your codebase. Using next build && next start instead of next dev on the development environment is inefficient. mode: 'production' in next.config.js seems not working as well.
There's a issue #143 that refers to the same problem.
It does not make sense since you have to run
next build && next start
every time you make changes to your codebase. Usingnext build && next start
instead ofnext dev
on the development environment is inefficient.mode: 'production'
innext.config.js
seems not working as well.