change build tool to build in dist and move index.html at root