I have several proprietary modules, each of these modules has its own JS files. Unfortunately, these files are repeated and the best method would be to add them to one common location. However, how is this best done? I was thinking of creating a separate module that would contain only the JS files responsible for my modules. However, this has a downsides, you would have to install a separate module for the original module to work. Another way would be to install common files in a common location, but each module would then keep its files in its own assets. When updating the JS library, this would be tiresome when I would have to update each module separately. Does anyone have a way to do this?
Edit History
I have several proprietary modules, each of these modules has its own JS files. Unfortunately, these files are repeated and the best method would be to add them to one common location. However, how is this best done? I was thinking of creating a separate module that would contain only the JS files responsible for my modules. However, this has a spotty downside, you would have to install a separate module for the original module to work. Another way would be to install common files in a common location, but each module would then keep its files in its own assets. When updating the JS library, this would be tiresome when I would have to update each module separately. Does anyone have a way to do this?