Cannot start xpub with NODE_ENV=production
Steps to recreate:
export NODE_ENV=production
npx pubsweet setupdb --username=cokouser --password=cokopassword --email=cokouser@example.com --clobber
THEN
npx pubsweet start
OR
npx pubsweet build
node my-start-script.js
The server starts but it serves a broken file.