added production, minify, short-paths middleware
fix entry path problem for short-paths