Skip to content

Commit 953c67d

Browse files
author
Kadir Selçuk
authored
Merge pull request #2 from facebook/master
[pull] master from facebook:master
2 parents 282c03f + 0f6fc2b commit 953c67d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docusaurus/docs/using-the-public-folder.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ The `public` folder is useful as a workaround for a number of less common cases:
6161
- You need a file with a specific name in the build output, such as [`manifest.webmanifest`](https://developer.mozilla.org/en-US/docs/Web/Manifest).
6262
- You have thousands of images and need to dynamically reference their paths.
6363
- You want to include a small script like [`pace.js`](https://github.hubspot.com/pace/docs/welcome/) outside of the bundled code.
64-
- Some library may be incompatible with webpack and you have no other option but to include it as a `<script>` tag.
64+
- Some libraries may be incompatible with webpack and you have no other option but to include it as a `<script>` tag.
6565

6666
Note that if you add a `<script>` that declares global variables, you should read the topic [Using Global Variables](using-global-variables.md) in the next section which explains how to reference them.

packages/react-scripts/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"types": "./lib/react-app.d.ts",
3030
"dependencies": {
3131
"@babel/core": "7.12.3",
32-
"@pmmmwh/react-refresh-webpack-plugin": "0.4.2",
32+
"@pmmmwh/react-refresh-webpack-plugin": "0.4.3",
3333
"@svgr/webpack": "5.5.0",
3434
"@typescript-eslint/eslint-plugin": "^4.5.0",
3535
"@typescript-eslint/parser": "^4.5.0",
@@ -95,6 +95,7 @@
9595
"fsevents": "^2.1.3"
9696
},
9797
"peerDependencies": {
98+
"react": ">= 16",
9899
"typescript": "^3.2.1 || ^4"
99100
},
100101
"peerDependenciesMeta": {

0 commit comments

Comments
 (0)