We have our Auth0 rules source controlled in GIT. There are a few logging functions that we need to use among multiple different Auth0 rules. Currently they are copied and pasted into every single rule.
I tried es6 imports only to find auth0 does not support them (in fact anything outside of the main function appears to be unsupported).
Has anyone successfully shared code between Auth0 Rules? If so how?