Skip to content

Commit

Permalink
Add production build section to docs (#5900)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianschmitz authored Dec 8, 2018
1 parent a9cf551 commit 8985924
Show file tree
Hide file tree
Showing 7 changed files with 503 additions and 473 deletions.
4 changes: 2 additions & 2 deletions docusaurus/docs/available-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Launches the test runner in the interactive watch mode. See the section about [r

Builds the app for production to the `build` folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!
The build is minified and the filenames include the hashes. See the [production build](production-build.md) section for more information.

See the section about [deployment](deployment.md) for more information.
Your app is ready to be deployed! See the section about [deployment](deployment.md) for more information about deploying your application to popular hosting providers.

## `npm run eject`

Expand Down
2 changes: 1 addition & 1 deletion docusaurus/docs/code-splitting.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class App extends Component {
export default App;
```

This will make `moduleA.js` and all its unique dependencies as a separate chunk that only loads after the user clicks the 'Load' button.
This will make `moduleA.js` and all its unique dependencies as a separate chunk that only loads after the user clicks the 'Load' button. For more information on the chunks that are created, see the [production build](production-build.md) section.

You can also use it with `async` / `await` syntax if you prefer it.

Expand Down
Loading

0 comments on commit 8985924

Please sign in to comment.