Build error angular development

I am using Angular 15, employing the bpmn-js component exactly as it is in your GitHub example. I am able to use bpmn-js smoothly, but during the development build, it freezes the entire application on a blank screen with no errors in the console.

Could you link the GitHub example you refer to? Can you reproduce it with the example itself?