Use React via CDN

This commit is contained in:
Michiel Borkent 2021-05-26 11:48:38 +02:00
parent 298b5552c4
commit ef6a6a5662
5 changed files with 20 additions and 127 deletions

View file

@ -7,6 +7,11 @@
:builds
{:main
{:target :browser
:js-options
{:resolve {"react" {:target :global
:global "React"}
"react-dom" {:target :global
:global "ReactDOM"}}}
:modules
{:sci-script-tag {:entries [sci.script-tag]}
:sci-script-tag-plugin-reagent {:entries [sci.script-tag.plugin-reagent]