\definebreakpoint[compound][—]

\setbreakpoints[compound]

\starttext
    \hsize1mm
    before—after       \par
    before—after       \par
    {\it before}—after \par
    {\bf before}—after \par
    {\em before}—after \par % italic correction due to \em
\stoptext
