It seems to me that if I put a custom/themes/custom.less in my project and distribute it, if the person loading my module already has a custom/themes/custom.less file my module will overwrite it. Is there a way around this?
You will have to rename the existing file if found at the location before you copy your file and then if needed both files can be merged manually.
sometimes it is better to add a prefix keyword so that your file names are unique so those are not conflicted with any other file.
But can you include files with prefixes? So far it looks like custom.less is the only file name it will accept.
You are right it will not accept.
Please visit below page too for more help.
Retrieving data ...