rsnext/examples/with-pkg/index.js
2017-08-10 08:06:14 +02:00

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