kitze / custom-react-scripts

[DEPRECATED, use customize-cra] Allow custom config for create-react-app without ejecting
https://custom-react-scripts.netlify.com
MIT License
993 stars 97 forks source link

Old restrictive Facebook copyright shown in public files #112

Open moos opened 6 years ago

moos commented 6 years ago

Is this a bug report?

Yes

Can you also reproduce the problem with npm 4.x?

n/a

Which terms did you search for in User Guide?

n/a

Environment

  1. node -v:
  2. npm -v:
  3. yarn --version (if you use Yarn):
  4. npm ls react-scripts (if you haven’t ejected):

Then, specify:

  1. Operating system:
  2. Browser and version (if relevant):

n/a

Steps to Reproduce

n/a

Expected Behavior

Should have new copyright notice, e.g, from react-scripts' build.js

/**

Actual Behavior

It has the old (restrictive) copyright notice. Unfortunately these show up in the final *.map file which is public.

/**

Reproducible Demo

Build the app and check the content of the build/static/js/main.<hash>.js.map file