Fix exports & bump version

This commit is contained in:
Scott Richmond 2024-01-19 17:49:26 -05:00
parent f657da57ef
commit 90c97e7cfe
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@ludus/ludus-js-pure",
"version": "0.1.0-alpha.8",
"version": "0.1.1",
"description": "A Ludus interpreter in a pure JS function.",
"main": "target/js/ludus.js",
"type": "module",

View File

@ -10,7 +10,7 @@
:modules {:main {:entries [ludus.node]}}}
:module {:target :esm
:output-dir "target/js"
:modules {:ludus {:exports {run ludus.node/run test ludus.node/run-test}}}
:modules {:ludus {:exports {run ludus.node/run test ludus.node/doug}}}
}
:browser {:target :browser
:output-dir "target/js"

View File

@ -62,7 +62,7 @@
))
)
(defn test-run [source] (run source true))
(defn doug [source] (run source true))
(comment