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
Update from upstream repo facebookincubator/create-react-app@master (#3)
* `react-error-overlay` has no dependencies now (facebook#3263)
* `react-error-overlay` has no dependencies now (it's bundled)
* Use babel 6 for now
* Add external links to deployment services (facebook#3265)
* Add warning when using `react-error-overlay` in production (facebook#3264)
* Add a warning when running minified
* Add more robust check
* Update index.js
* Use production React version for bundled overlay (facebook#3267)
* Use production React version
* We cannot strip our own checks if production
* Keep the sourcemap during minify
* Prevent devtools pollution
* Add some comments
* sigh
Copy file name to clipboardexpand all lines: packages/react-scripts/template/README.md
+11-11
Original file line number
Diff line number
Diff line change
@@ -1816,11 +1816,11 @@ If you are not using the HTML5 `pushState` history API or not using client-side
1816
1816
1817
1817
This will make sure that all the asset paths are relative to `index.html`. You will then be able to move your app from `http://mywebsite.com` to `http://mywebsite.com/relativepath` or even `http://mywebsite.com/relative/path` without having to rebuild it.
1818
1818
1819
-
### Azure
1819
+
### [Azure](https://azure.microsoft.com/)
1820
1820
1821
-
See [this](https://medium.com/@to_pe/deploying-create-react-app-on-microsoft-azure-c0f6686a4321) blog post on how to deploy your React app to [Microsoft Azure](https://azure.microsoft.com/).
1821
+
See [this](https://medium.com/@to_pe/deploying-create-react-app-on-microsoft-azure-c0f6686a4321) blog post on how to deploy your React app to Microsoft Azure.
1822
1822
1823
-
### Firebase
1823
+
### [Firebase](https://firebase.google.com/)
1824
1824
1825
1825
Install the Firebase CLIif you haven’t already by running `npm install -g firebase-tools`. Sign up for a [Firebase account](https://console.firebase.google.com/) and create a new project. Run `firebase login` and login with your previous created Firebase account.
1826
1826
@@ -1881,7 +1881,7 @@ Now, after you create a production build with `npm run build`, you can deploy it
1881
1881
1882
1882
For more information see [Add Firebase to your JavaScript Project](https://firebase.google.com/docs/web/setup).
@@ -1951,7 +1951,7 @@ GitHub Pages doesn’t support routers that use the HTML5 `pushState` history AP
1951
1951
* You could switch from using HTML5 history API to routing with hashes. If you use React Router, you can switch to `hashHistory` for this effect, but the URL will be longer and more verbose (for example, `http://user.github.io/todomvc/#/todos/42?_k=yknaj`). [Read more](https://reacttraining.com/react-router/web/api/Router) about different history implementations in React Router.
1952
1952
* Alternatively, you can use a trick to teach GitHub Pages to handle 404 by redirecting to your `index.html` page with a special redirect parameter. You would need to add a `404.html` file with the redirection code to the `build` folder before deploying your project, and you’ll need to add code handling the redirect parameter to `index.html`. You can find a detailed explanation ofthis technique [inthis guide](https://github.com/rafrex/spa-github-pages).
1953
1953
1954
-
### Heroku
1954
+
### [Heroku](https://www.heroku.com/)
1955
1955
1956
1956
Use the [Heroku Buildpack for Create React App](https://github.com/mars/create-react-app-buildpack).<br>
1957
1957
You can find instructions in [Deploying React with Zero Configuration](https://blog.heroku.com/deploying-react-with-zero-configuration).
In this case, ensure that the file is there with the proper lettercase and that’s not ignored on your local `.gitignore` or `~/.gitignore_global`.
1991
1991
1992
-
### Netlify
1992
+
### [Netlify](https://www.netlify.com/)
1993
1993
1994
1994
**To do a manual deploy to Netlify’s CDN:**
1995
1995
@@ -2018,9 +2018,9 @@ To support `pushState`, make sure to create a `public/_redirects` file with the
2018
2018
2019
2019
When you build the project, Create React App will place the `public` folder contents into the build output.
2020
2020
2021
-
### Now
2021
+
### [Now](https://zeit.co/now)
2022
2022
2023
-
[now](https://zeit.co/now) offers a zero-configuration single-command deployment. You can use `now` to deploy your app for free.
2023
+
Now offers a zero-configuration single-command deployment. You can use `now` to deploy your app for free.
2024
2024
2025
2025
1. Install the `now` command-line tool either via the recommended [desktop tool](https://zeit.co/download) or via node with `npm install -g now`.
2026
2026
@@ -2038,11 +2038,11 @@ When you build the project, Create React App will place the `public` folder cont
2038
2038
2039
2039
Details are available in [this article.](https://zeit.co/blog/unlimited-static)
2040
2040
2041
-
### S3 and CloudFront
2041
+
### [S3](https://aws.amazon.com/s3) and [CloudFront](https://aws.amazon.com/cloudfront/)
2042
2042
2043
-
See this [blog post](https://medium.com/@omgwtfmarc/deploying-create-react-app-to-s3-or-cloudfront-48dae4ce0af) on how to deploy your React app to Amazon Web Services [S3](https://aws.amazon.com/s3) and [CloudFront](https://aws.amazon.com/cloudfront/).
2043
+
See this [blog post](https://medium.com/@omgwtfmarc/deploying-create-react-app-to-s3-or-cloudfront-48dae4ce0af) on how to deploy your React app to Amazon Web Services S3 and CloudFront.
2044
2044
2045
-
### Surge
2045
+
### [Surge](https://surge.sh/)
2046
2046
2047
2047
Install the Surge CLIif you haven’t already by running `npm install -g surge`. Run the `surge` command and log in you or create a newaccount.
0 commit comments