Only Hoplon plugin

This commit is contained in:
mynomoto 2023-11-19 15:45:58 -03:00
parent 0d9792abc9
commit 5c38ac17df
3 changed files with 16 additions and 3 deletions

View file

@ -19,7 +19,7 @@
io.github.babashka/sci.configs
#_{:local/root "/Users/borkdude/dev/sci.configs"}
{:git/url "https://github.com/babashka/sci.configs"
:git/sha "33bd51e53700b224b4cb5bda59eb21b62f962745"}}
:git/sha "08bab21643bc0c63a5b99c65193c9d24888270b7"}}
:aliases
{:dev
{:extra-paths ["dev"]

View file

@ -0,0 +1,9 @@
(ns scittle.javelin
{:no-doc true}
(:require [sci.configs.hoplon.javelin :refer [config]]
[scittle.core :as scittle]))
(defn init []
(scittle/register-plugin!
::javelin
config))

View file

@ -1,9 +1,13 @@
[{:name scittle/hoplon
:namespaces [hoplon.core
:namespaces [javelin.core
hoplon.core
hoplon.dom]
:js "./scittle.hoplon.js"
:shadow-config
{:modules
{:scittle.hoplon {:init-fn scittle.hoplon/init
:depends-on #{:scittle :scittle.javelin}
:entries [hoplon.core hoplon.goog]}}}}]
:entries [hoplon.core hoplon.goog]}
:scittle.javelin {:init-fn scittle.javelin/init
:depends-on #{:scittle}
:entries [javelin.core]}}}}]