flatten asset structure in dist