I have followed this documentation for implementing external frontend-hooks: Configuration | n8n Docs
On version 1.35 this worked fine, now we upgraded to 1.53 and hooks file no longer work:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
What is the correct way to setup the external frontend-hooks now?
Thanks!