fixed issue with mini-next.js in production

Signed-off-by: Chris Jones <chris@jonezy.org>