Flatten dist into the project root.