Can we overlay the file to our custom path or we have to overlay the file to exact folder structure location as in libs?
For example, I want to overlay the constants.js
(/libs/cq/ui/widgets/source/constants.js
) file, in this adobe recommended Copy this file to /apps/cq/ui/widgets/source/constants.js
for overlaying, but in my project that folder structure is not there, so I have copied to the custom path in apps folder and tested the changes and overlaying is working fine.