library
library copied to clipboard
Add copyright banner to UMD variant
When adding this library to our project (not on github, so I can't share a link, sorry), we noticed that the minified UMD variant (dist/index.min.js
) only contains a copyright comment for the external ts-custom-error
module, but none for your own modules. This looked a bit misleading to us.
This PR is a proposal how to address this. It uses a rollup plugin to add your LICENSE file as a banner comment to the build result. The banner is added in a way that terser doesn't remove it (/*! ... */
comment).
Has this been solved in a different way?
That was a mistake, sorry. I'll look into the changes you made
Thanks! It's not a big thing. Just thought, the copyright comments in the UMD version should match the reality...
Have you seen my comments in the code?
Yes, sorry for not replying immediately - daily work, you know. I hope to be able to look into this again today or tomorrow.
Kind Regards and thanks again, Frank
any updates?
Stale pull request message