Angular\src\app\core\paths.ts depends on 'static-path'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
I was using "static-path": "0.0.1" but still got the warning after upgrading to "static-path": "^0.0.4"

Not a big deal considering the small size of this module, but if easy to publish a correct ECMAScript module, would be great