set NODE_ENV=production

运行node.js前直接运行上面命令即可。