The cell cycle process in which chromatin structure is compacted prior to and during mitosis in eukaryotic cells. [ https://www.worldcat.org/search?q=bn%3A0815316194 GOC:mah ]