ngx-viewer
ngx-viewer copied to clipboard
CommonJS or AMD dependencies cause optimization bailouts
I'm not sure, but maybe it's possible to improve the package by import viewer.js via ES Modules.
https://github.com/fengyuanchen/viewerjs/issues/213
to avoid this warning
Warning: C:...\node_modules\ngx-viewer_ivy_ngcc_\fesm2015\ngx-viewer.js depends on 'viewerjs'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies