mime icon indicating copy to clipboard operation
mime copied to clipboard

Angular 10 Warning

Open Christian-Seiler opened this issue 5 years ago • 1 comments

Angular 10 now gives a warning to users who are using this library due to it being a CommonJS package.

WARNING in mime.service.ts depends on mime/lite. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Christian-Seiler avatar Jul 27 '20 09:07 Christian-Seiler

Working on it (slowly, obviously).

broofa avatar Dec 16 '20 12:12 broofa

Closing. mime@4 (published as mime@beta`) is ESM-only, which should fix this issue.

broofa avatar Sep 19 '23 14:09 broofa