I\'ve found plenty of advice like this: Angular 10 - CommonJS or AMD dependencies can cause optimization bailouts
...about how to make Angular stop complaining about