mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
4 lines
143 B
JavaScript
4 lines
143 B
JavaScript
|
// when pkg-ing the app we set NODE_ENV as production and require the `./server.js`
|
||
|
process.env.NODE_ENV = 'production'
|
||
|
require('./server.js')
|