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

a reminder related to add the license lines #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

x0y0z0tn
Copy link

It will remind the developer to add the license lines.

That is required by the code of conduct:
This file should contain any relevant licensing information ...

It will remind the developer to add the license lines.
That is required by the code of conduct:
This file should contain any relevant licensing information ...
@iuriguilherme
Copy link

If one includes a comment like this one (say to the top of index.js):

/**!
 * @file FXHASH project
 * @version 0.0.1
 * @copyright Author 2023
 * @license MIT
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy...
 * [...]
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

being the important part the exclamation mark in the first line, then uglify, webpack and other tools will preserve that comment and add it to bundle.js.LICENSE.txt.

I redacted most of MIT's license text in the example to shrink this comment's size.

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

Successfully merging this pull request may close these issues.

2 participants