Yeah but at the moment, if I install it in a 4.4 project I get an error
Because the rest of the project uses _resources and the module uses resources
Oh that will probably due to hard coded references to "resources" instead of "_resources". Like in the file you just linked
Change those (and any others you can find), dev/build and try again.
Yeah, I can do that but I’d like to know if there’s a way to make the module respect the projects setting instead of the hard coded option
Well it sounds like it is and your system is set up to put assets in _resources.
My project is set up to put the assets in _resources
And it does, except for that module
Which uses “resources”
I’d like to fix it so anyone using the module get the module assets put in whatever directory the select on their projects composer.json