I keep solving this problem, so it’s time to write it down for my future self!
I know your story. You want to use jQuery inside an Angular CLI app, but the whole WebPack magic is turning everything bad.
Or perhaps things are even more complex. You want to use a 3rd party product, like Semantic UI, which augments existing jQuery objects in global scope, from your Angular CLI app, and it’s not happening for you.
Your web searches are awash with old advice.
This is the page you have been looking for.