Issue #3357382 by Robert Ngo, e0ipso, smustgrave: Unable to override library auto-definition to add external CSS & JS
(cherry picked from commit 575c5331)
Closes #2980951