וּמַאֲמַ֣ר אֶסְתֵּ֔ר קִיַּ֕ם דִּבְרֵ֥י הַפֻּרִ֖ים הָאֵ֑לֶּה וְנִכְתָּ֖ב בַּסֵּֽפֶר׃ (פ)
און אסתּרס באַפֿעל האָט באַפֿעסטיקט די דאָזיקע אָנזאָגן װעגן פּורים; און עס איז פֿאַרשריבן געװאָרן אין אַ בוך.
Rashi
On the basis of Esther’s request [these Purim matters] were perpetuated, etc. Esther requested of the Sages of the generation to commemorate her and to write this book with the rest of the Scriptures, and that is the meaning of “and inscribed in the book.”20Maseches Megillah 7a.