rsnext/examples/with-pkg/index.js

4 lines
143 B
JavaScript
Raw Normal View History

2017-08-10 08:06:14 +02:00
// when pkg-ing the app we set NODE_ENV as production and require the `./server.js`
process.env.NODE_ENV = 'production'
require('./server.js')