The claim that the 18th century produced little great music is unfounded. The Classical era (c. 1730–1820) was a peak of creativity and innovation:
Haydn ("Father of the Symphony/String Quartet"), Mozart (600+ masterpieces), and Beethoven (revolutionary symphonies, sonatas, quartets) all flourished.
The symphony and string quartet matured into major forms. Opera thrived (Mozart's Figaro, Don Giovanni). Keyboard music exploded with the piano's rise.
Sacred works (masses, oratorios), chamber music, concertos, and folk-inspired pieces abounded. Bach, Handel, Vivaldi, and C.P.E. Bach bridged Baroque and Classical styles.
Far from barren, the 18th century is a cornerstone of Western music history.