static-path icon indicating copy to clipboard operation
static-path copied to clipboard

angular compiler warning than static-path can cause optimization bailouts

Open lf-novelt opened this issue 3 years ago • 0 comments

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"

image

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

lf-novelt avatar Sep 09 '22 07:09 lf-novelt