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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ and then run `npm start` or `npm run build`.
68
68
6. Make sure to include “Migrating from ...” instructions for the previous release. Often you can copy and paste them.
69
69
7. After merging the changelog update, create a GitHub Release with the same text. See previous Releases for inspiration.
70
70
8.**Do not run `npm publish`. Instead, run `npm run publish`.**
71
-
9. Wait for a long time, and it will get published. Don’t worry that it’s stuck. It will bundle dependencies into a single tarball before publishing for faster installs. In the end the publish script will prompt for versions before publishing the packages.
71
+
9. Wait for a long time, and it will get published. Don’t worry that it’s stuck. In the end the publish script will prompt for versions before publishing the packages.
72
72
73
73
Make sure to test the released version! If you want to be extra careful, you can publish a prerelease by running `npm run publish -- --tag next` instead of `npm run publish`.
-[Adding Images and Fonts](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-images-and-fonts)
111
111
-[Using the `public` Folder](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#using-the-public-folder)
112
+
-[Using Global Variables](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#using-global-variables)
@@ -118,7 +119,9 @@ The [User Guide](https://github.com/facebookincubator/create-react-app/blob/mast
118
119
-[Using HTTPS in Development](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#using-https-in-development)
119
120
-[Generating Dynamic `<meta>` Tags on the Server](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#generating-dynamic-meta-tags-on-the-server)
-[Developing Components in Isolation](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#developing-components-in-isolation)
A copy of the user guide will be created as `README.md` in your project folder.
124
127
@@ -130,7 +133,7 @@ Please refer to the [User Guide](https://github.com/facebookincubator/create-rea
130
133
131
134
***One Dependency:** There is just one build dependency. It uses Webpack, Babel, ESLint, and other amazing projects, but provides a cohesive curated experience on top of them.
132
135
133
-
***Zero Configuration:**There are no configuration files or command line options. Configuring both development and production builds is handled for you so you can focus on writing code.
136
+
***Convention over Configuration:**You don't need to configure anything by default. Reasonably good configuration of both development and production builds is handled for you so you can focus on writing code.
134
137
135
138
***No Lock-In:** You can “eject” to a custom setup at any time. Run a single command, and all the configuration and build dependencies will be moved directly into your project, so you can pick up right where you left off.
136
139
@@ -206,6 +209,7 @@ Some of the more popular and actively maintained ones are:
Copy file name to clipboardExpand all lines: packages/babel-preset-react-app/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -23,3 +23,5 @@ Then create a file named `.babelrc` with following contents in the root folder o
23
23
"presets": ["react-app"]
24
24
}
25
25
```
26
+
27
+
This preset uses the `useBuiltIns` option with [transform-object-rest-spread](http://babeljs.io/docs/plugins/transform-object-rest-spread/) and [transform-react-jsx](http://babeljs.io/docs/plugins/transform-react-jsx/), which assumes that `Object.assign` is available or polyfilled.
0 commit comments