In XPages I have enabled the "Use runtime optimized JS and CSS resources" but it raises and error:
inputmask is not a function.
I have loaded the script as followed:
<xp:this.resources>
<xp:script
src="/inputmask/jquery.inputmask.bundle.js"
clientSide="true">
</xp:script>
</xp:this.resources>
It works fine when I have the XSP property disabled.
How can I solve this?