"Pact" originally meant "agreement" or "treaty", and the prefix "com-" means "with" or "together". So, "compact" literally means "to agree together" or "to be joined together".
"Pact" originally meant "agreement" or "treaty", and the prefix "com-" means "with" or "together". So, "compact" literally means "to agree together" or "to be joined together".