custom-react-scripts icon indicating copy to clipboard operation
custom-react-scripts copied to clipboard

Old restrictive Facebook copyright shown in public files

Open moos opened this issue 8 years ago • 0 comments

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

/**

  • Copyright (c) 2015-present, Facebook, Inc.
  • This source code is licensed under the MIT license found in the
  • LICENSE file in the root directory of this source tree. */

Actual Behavior

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

/**

  • Copyright (c) 2015-present, Facebook, Inc.
  • All rights reserved.
  • This source code is licensed under the BSD-style license found in the
  • LICENSE file in the root directory of this source tree. An additional grant
  • of patent rights can be found in the PATENTS file in the same directory. */

Reproducible Demo

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

moos avatar Oct 21 '17 00:10 moos