custom-react-scripts
custom-react-scripts copied to clipboard
Old restrictive Facebook copyright shown in public files
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
-
node -v: -
npm -v: -
yarn --version(if you use Yarn): -
npm ls react-scripts(if you haven’t ejected):
Then, specify:
- Operating system:
- 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