Hi,
as per the subject, I would like to understand what is the current best-practice to include JS libraries in my activity module plug-in (I'm developing in Moodle 3.9.1).
Is this documentation page still current? -> https://docs.moodle.org/dev/Javascript_Modules
Or this? -> https://docs.moodle.org/dev/Guide_to_adding_third_party_jQuery_for_AMD
Or this one? -> https://docs.moodle.org/dev/NPM
I strive to adhere as precisely as possible to Moodle's standards and best-practices.
Thanks in advance to anyone who can help me out