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
@@ -1245,17 +1244,6 @@ There are also reports that *uninstalling* Watchman fixes the issue. So if nothi
1245
1244
1246
1245
It is reported that `npm run build` can fail on machines with no swap space, which is common in cloud environments. If [the symptoms are matching](https://github.com/facebookincubator/create-react-app/issues/1133#issuecomment-264612171), consider adding some swap space to the machine you’re building on, or build the project locally.
1247
1246
1248
-
### Subresource integrity checks fail
1249
-
1250
-
[Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) digests are added to the build output files. For a particular scenario, these checks may fail when deployed. The files are built using `LF` characters, but if your deployment uses a Git repository for deployment (like Azure web sites) and the Git repository is set up to translate `LF` characters into `CR/LF` characters, then the checked out files will be different and the digests will be invalid.
1251
-
1252
-
To fix this, just add a `.gitattributes` file to your deployment repository that will ensure the build files are not modified when checked out:
1253
-
1254
-
```
1255
-
*.css text eol=lf
1256
-
*.js text eol=lf
1257
-
```
1258
-
1259
1247
## Something Missing?
1260
1248
1261
1249
If you have ideas for more “How To” recipes that should be on this page, [let us know](https://github.com/facebookincubator/create-react-app/issues) or [contribute some!](https://github.com/facebookincubator/create-react-app/edit/master/packages/react-scripts/template/README.md)
0 commit comments