Closed JasonLi914 closed 7 years ago
Would this be fixed by updating the project's bower.json to include:
"main": [
"./dist/client.min.js",
"./dist/hub.min.js"
]
Yes, that should fix it I believe
Actually, sorry, I don't think that's exactly what we want. Including both as the main would bring in both files all the time, when we would only ever want one or the other. Originally I said client.js because it is in more cases likely to be the desired one, and then an override can be used for the smaller number of cases where hub.js is desired. However, I can understand if this is not feasible, and if that's the case, I was wondering if the hub and client could be separate projects, where the main file is the respective and correct file? Please let me know your thoughts on this, thank you!
Closing due to inactivity. I think this issue could be resolved through configuration of Wiredep.
Would it be possible to set the main file as client.js? Currently running into issues on our suite of projects that use Wiredep that are unable to load it in without setting an override for the main file in our bower.json's.