I'm struggling a bit with the new viewer version 7 and the inclusion of three.js. According to
https://forge.autodesk.com/blog/webpack-and-threejs-forge-applications
it is necessary to define three.js as external. But where exactly do I do that? The viewer is embedded in an Angular environment.
Don't add THREE as dependency in package.json and use the THREE global loaded by the viewer. If you just need the THREE types: (https://www.npmjs.com/package/@types/forge-viewer)