I’m developing a custom module.
I declared several actions that works fine, but i need declare shared functions. For example ‘TrackSomethingInAnySite()’ to reuse from diferents actions.
How Can I declare this? I created a folder outside of ‘actions’ folder, but this is not copied in ‘out’ folder in the build, then an error is shown beacuse the ‘functions’ folder is not found.
If I declare this functions within actions folder, an error ‘illegal operation on a directory’ is shown.
What is the better way to do it? Am I doing something wrong?
Thanks in advance!