Skip to content

Commit

Permalink
Use the prod distribution of React instead of dev in the CDN example (#…
Browse files Browse the repository at this point in the history
…3402)

* chore: use react prod distribution in cdn example

* update more examples

---------

Co-authored-by: Dimitri POSTOLOV <[email protected]>
  • Loading branch information
kiendang and dimaMachina authored Aug 14, 2024
1 parent db6afa9 commit 2e832f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/graphiql-cdn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
-->
<script
crossorigin
src="https://unpkg.com/react@18/umd/react.development.js"
src="https://unpkg.com/react@18/umd/react.production.min.js"
></script>
<script
crossorigin
src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"
src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"
></script>
<!--
These two files can be found in the npm module, however you may wish to
Expand Down
4 changes: 2 additions & 2 deletions packages/graphiql-plugin-code-exporter/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@

<script
crossorigin
src="https://unpkg.com/react@18/umd/react.development.js"
src="https://unpkg.com/react@18/umd/react.production.min.js"
></script>
<script
crossorigin
src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"
src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"
></script>

<script
Expand Down
4 changes: 2 additions & 2 deletions packages/graphiql-plugin-explorer/examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@

<script
crossorigin
src="https://unpkg.com/react@18/umd/react.development.js"
src="https://unpkg.com/react@18/umd/react.production.min.js"
></script>
<script
crossorigin
src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"
src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"
></script>

<script
Expand Down

0 comments on commit 2e832f2

Please sign in to comment.