1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-pkg/index.js
2017-08-10 08:06:14 +02:00

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')