Skip to content

Commit 2e832f2

Browse files
Use the prod distribution of React instead of dev in the CDN example (#3402)
* chore: use react prod distribution in cdn example * update more examples --------- Co-authored-by: Dimitri POSTOLOV <[email protected]>
1 parent db6afa9 commit 2e832f2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/graphiql-cdn/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
-->
3131
<script
3232
crossorigin
33-
src="https://unpkg.com/react@18/umd/react.development.js"
33+
src="https://unpkg.com/react@18/umd/react.production.min.js"
3434
></script>
3535
<script
3636
crossorigin
37-
src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"
37+
src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"
3838
></script>
3939
<!--
4040
These two files can be found in the npm module, however you may wish to

packages/graphiql-plugin-code-exporter/examples/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434

3535
<script
3636
crossorigin
37-
src="https://unpkg.com/react@18/umd/react.development.js"
37+
src="https://unpkg.com/react@18/umd/react.production.min.js"
3838
></script>
3939
<script
4040
crossorigin
41-
src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"
41+
src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"
4242
></script>
4343

4444
<script

packages/graphiql-plugin-explorer/examples/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434

3535
<script
3636
crossorigin
37-
src="https://unpkg.com/react@18/umd/react.development.js"
37+
src="https://unpkg.com/react@18/umd/react.production.min.js"
3838
></script>
3939
<script
4040
crossorigin
41-
src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"
41+
src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"
4242
></script>
4343

4444
<script

0 commit comments

Comments
 (0)