Most javascript libraries today are modular (like three.js ; it's just one example among many).
This libraries require the addition of script of "module" and "map" type :
AND
In Lectora Desktop, it would be very useful to be able to specify the type of javascript file to insert in HTML header. Today, Lectora creates a simple
In the meantime as an alternative you could try adding a meta extension with your own script tags. Just remember to include the .js files in the "Additional Files" section.