fixed issue with mini-next.js in production

Signed-off-by: Chris Jones <chris@jonezy.org>
Merge pull request #191 from jonezy/master

fixed issue with mini-next.js in production