Webpack can help you with this. But I'm really sorry to tell you this... you're going to have to learn how to use it first.
If you have a specific use case and mangled array of libraries, frameworks and build systems, you can't expect it to be handled automatically by a magic new tool.