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

@ -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]}}}}]