Rewrite for new react-app-middleware to allow html layouts