Commit Graph

9 Commits

Author SHA1 Message Date
Jacob M-G Evans
88cf8cd64e Support production profiling with React Developer Tools (#7737)
* Added the alias for profiling and output change to keep the classNames and functionNames for human readbility

* defined isEnvProductionProfile with other isEnv checks

* moved the keep_classnames and keep_fnames to terserOptions scope

* resolve merge conflict for yarn.lock.cache

* revert yarn.lock.cache to master yarn.lock.cache
- git checkout origin/master -- packages/create-react-app/yarn.lock.cached

* Comment and Boolean Check
- I clarified the comment and specified the use case
- Changed the environment check to check for the specific true rather than
the assumed primitive value as before.

* Replaced env with flag
- Per suggestion --profile flag used instead of env variable PROFILE_APP

* documentation in available scripts section with suggested information

* resolved a local git issue. Fixed documentation error.

* moved documentation to suggested file
- Added a brief summary of profiling in available scripts section.
The summary references the production-build document. Which is the
file I moved the new documentation into under a new Header for production support.

* Update production-build.md


Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
2019-10-02 21:53:41 -06:00
Mike Perry Y Attara
e630238d0d Add explanation for adding everything as dependencies to docs (#6082)
* Update available-scripts.md

add the reason for adding packages as dependencies

* Update available-scripts.md

* Update available-scripts.md

* Update available-scripts.md


Co-authored-by: Amy Lam <amy.r.lam@gmail.com>
Co-authored-by: Ian Sutherland <ian@iansutherland.ca>
2019-04-03 13:48:27 -06:00
Ian Schmitz
8985924521 Add production build section to docs (#5900) 2018-12-08 14:14:25 -08:00
Eric Feng
2a7fd5a1ea Fixing Internal Links (#5552)
* Fixing Internal Links

Internal links, like those found on [Available Scripts](https://facebook.github.io/create-react-app/docs/available-scripts)
use absolute urls and therefore link to https://facebook.github.io/docs/deployment instead of
https://facebook.github.io/create-react-app/docs/deployment.

* changing to markdown links and fixing various broken internal links
2018-10-29 14:00:28 -04:00
Amy Lam
6235d57631 Edits to Getting Started
- Copy edits for consistency
- Remove <br>'s for readability

Should all headers be Title Case? I see `Creating an App` but `Installing A Dependency`. I tend to use https://titlecaseconverter.com/, thoughts?
2018-10-11 01:37:00 -07:00
Kristofer Selbekk
89087144ac Title Case All Headings 2018-10-09 06:55:08 +02:00
Kristofer Selbekk
7aaa463547 Bumping all headings one level because we can now 2018-10-07 20:51:30 +02:00
Kristofer Selbekk
0f5bb0d937 Update all internal links 2018-10-07 20:34:45 +02:00
Kristofer Selbekk
d1b54c4dcc Move available scripts into its own file 2018-10-07 18:18:49 +02:00