Open svenson95 opened 2 years ago
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
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