You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Developing Components in Isolation](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#developing-components-in-isolation)
131
131
-[Making a Progressive Web App](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app)
132
+
-[Analyzing the Bundle Size](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#analyzing-the-bundle-size)
Copy file name to clipboardexpand all lines: packages/react-scripts/template/README.md
+32
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ You can find the most recent version of this guide [here](https://github.com/fac
61
61
-[Editor Integration](#editor-integration)
62
62
-[Developing Components in Isolation](#developing-components-in-isolation)
63
63
-[Making a Progressive Web App](#making-a-progressive-web-app)
64
+
-[Analyzing the Bundle Size](#analyzing-the-bundle-size)
64
65
-[Deployment](#deployment)
65
66
-[Serving Apps with Client-Side Routing](#serving-apps-with-client-side-routing)
66
67
-[Building for Relative Paths](#building-for-relative-paths)
@@ -1206,6 +1207,37 @@ Learn more about React Storybook:
1206
1207
1207
1208
You can turn your React app into a [Progressive Web App](https://developers.google.com/web/progressive-web-apps/) by following the steps in [this repository](https://github.com/jeffposnick/create-react-pwa).
Then to analyze the bundle run the production build then run the analyze
1234
+
script.
1235
+
1236
+
```
1237
+
npm run build
1238
+
npm run analyze
1239
+
```
1240
+
1209
1241
## Deployment
1210
1242
1211
1243
`npm run build` creates a `build` directory with a production build of your app. Set up your favourite HTTP server so that a visitor to your site is served `index.html`, and requests to static paths like `/static/js/main.<hash>.js` are served with the contents of the `/static/js/main.<hash>.js` file. For example, Python contains a built-in HTTP server that can serve static files:
0 commit comments