wip
This commit is contained in:
parent
a4a415f6b0
commit
dc11b26e60
5
deps.edn
5
deps.edn
|
@ -1,7 +1,7 @@
|
|||
{:paths ["src" "resources"]
|
||||
:deps
|
||||
{org.clojure/clojure {:mvn/version "1.11.1"}
|
||||
thheller/shadow-cljs {:mvn/version "2.20.15"}
|
||||
thheller/shadow-cljs {:mvn/version "3.1.8"}
|
||||
org.babashka/sci {:git/url "https://github.com/babashka/sci"
|
||||
:git/sha "87fa2d2648ef809e8c8c87279c51961dca41ed4d"}
|
||||
#_{:local/root "../babashka/sci"}
|
||||
|
@ -21,7 +21,8 @@
|
|||
io.github.babashka/sci.configs
|
||||
#_{:local/root "/Users/borkdude/dev/sci.configs"}
|
||||
{:git/url "https://github.com/babashka/sci.configs"
|
||||
:git/sha "1ade6f94a2902211bed1f876472571da0c5e7278"}}
|
||||
:git/sha "1ade6f94a2902211bed1f876472571da0c5e7278"}
|
||||
binaryage/devtools {:mvn/version "1.0.7"}}
|
||||
:aliases
|
||||
{:dev
|
||||
{:extra-paths ["dev"]
|
||||
|
|
13
resources/public/index_text.html
Normal file
13
resources/public/index_text.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="js/scittle.js" type="application/javascript"></script>
|
||||
<script src="js/scittle.cljs-devtools.js" type="application/javascript"></script>
|
||||
<script type="application/x-scittle">
|
||||
(js/console.log {:a 1})
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
:builds
|
||||
{:main
|
||||
{:compiler-options {:optimizations :whitespace}
|
||||
{:compiler-options {:optimizations :simple
|
||||
:pretty-print true
|
||||
:pseudo-names true}
|
||||
:target :browser
|
||||
:js-options
|
||||
{:resolve {"react" {:target :global
|
||||
|
@ -31,7 +33,9 @@
|
|||
:depends-on #{:scittle.reagent
|
||||
:scittle}}
|
||||
:scittle.cljs-ajax {:entries [scittle.cljs-ajax]
|
||||
:depends-on #{:scittle}}}
|
||||
:depends-on #{:scittle}}
|
||||
:scittle.cljs-devtools {:entries [scittle.cljs-devtools]
|
||||
:depends-on #{:scittle}}}
|
||||
:build-hooks [(shadow.cljs.build-report/hook)]
|
||||
:output-dir "resources/public/js"
|
||||
:devtools {:repl-pprint true}}}}
|
||||
|
|
4
src/scittle/cljs_devtools.cljs
Normal file
4
src/scittle/cljs_devtools.cljs
Normal file
|
@ -0,0 +1,4 @@
|
|||
(ns scittle.cljs-devtools
|
||||
(:require [devtools.core :as devtools]))
|
||||
|
||||
(devtools/install!)
|
Loading…
Reference in a new issue