Convert plain text files to requirejs modules