Crary sees an fifteenth-century to seventeenth-century interest in the study of dreams, though he notes that this is severed from "a magico-theological framework" by the eighteenth / nineteenth century
"Modernization could not proceed in a world populated with large numbers of individuals who believed in the value or potency of their own internal visions or voices," and "the vitiated identity of a visionary was left over for a tolerated minority of poets, artists, and mad people"
a heartening late development was perhaps the study of hypnagogic images (this interest dates back to the 1830s)
however, "by the end of the nineteenth century the study of hypnagogic images had ceased"
Crary sees Freud's The Interpretation of Dreams being the nail in the coffin of the study of dreams, but I'm not certain I agree