Enable "Debug" in HTML Library Manager cause the forms editor HTML header part broken css mime type
Enable "Debug" in HTML library Manager through configMgr, then the form editor report lots of css and JS errors for 49 times:
Refused to apply style from 'http://localhost:4502/var/clientlibs/libs/granite/ui/clientlibs/quickactions/less/generated/quickaction-default.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
I see some solutions for Angular or other JS frameworks. Any idea how to resolve this in AEM granite? I just want each css and Javascript in its own file to easy to debug or view.