question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I found that generating a 2.e68cc420.chunk.js.LICENSE.txt in the js directory, how to prohibit it from being generated?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Zycon42commented, Jun 14, 2020

webpack terser plugin generates LICENSE.txt files for the libraries that have license comment in them. Usually libraries are licenced under licenses such as MIT that require you to include their licence in your app.

E.q. react.js license contains following

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

This can be disabled in the webpack configuration. CRA doesn’t provide a builtin way to modify it. You can eject or use something like craco to modify webpack config.

0reactions
FerrisWcommented, May 10, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

examples/LICENSE.txt at master · lob/examples - GitHub
A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger ...
Read more >
Texas driver license and ID renewals and replacements | TxT
Complete your Texas driver license and ID services online. Renew or replace your cards, change your address, and more—all with Texas by Texas...
Read more >
what does license.txt belong to exactly?
License.txt is simply a generic name for any license file. There is no web "standard" or convention for "license.txt" files like there is ......
Read more >
LICENSE.TXT [plain text] - Apple Open Source
Such software will have its own individual LICENSE.TXT file in the directory in which it appears. This file will describe the copyrights, license, ......
Read more >
The "license.txt" File - Mura Docs v7.0
txt , the content of the text file will be used as an End-User License Agreement (EULA) or software license agreement. When an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found