Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copyright not included in bundled.js #503

Open
ajorg-aws opened this issue Jan 10, 2022 · 0 comments
Open

Copyright not included in bundled.js #503

ajorg-aws opened this issue Jan 10, 2022 · 0 comments

Comments

@ajorg-aws
Copy link

When bundling bowser with other code there's nothing to distinguish bowser or indicate its license. This appears to be because the bundling process used by bowser strips out copyright and license statements.

I see the following in https://github.com/lancedikson/bowser/blob/master/src/bowser.js and normally the /*! would protect it from being stripped by a bundler, unless the bundler is configured to strip everything.

/*!
 * Bowser - a browser detector
 * https://github.com/lancedikson/bowser
 * MIT License | (c) Dustin Diaz 2012-2015
 * MIT License | (c) Denis Demchenko 2015-2019
 */

Including these, or some simpler form, in the bundled.js package helps enable others to comply with the terms of the MIT license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant