thheller/shadow-client
dependency which is required by the HUD1.9.160
:open-file-command
--debug
--source-maps
--pseudo-names
to CLI for shadow-cljs release
debugging:preloads
in :devtools
, same as in CLJSshadow-cljs help
same as shadow-cljs -h
shadow-cljs
package now ships with a default .babelrc
to prevent processing the generated files with crazy presets (ie. react-native
packager). It is already ES3, it should not need processing.target/shadow-cljs/nrepl.port
:devtools {:http-root "path-to-dir" :http-port 8080}
. this is launched whenever watch
is running for the given build.-h
without launching a JVM.--cli-info
option to print some basic info about the CLI command (paths, versions, dependencies, ...).class
files when :dependencies
change (or CLI version upgrade)shadow-cljs test
command to run all cljs.test
tests via node
[WIP]shadow-cljs -h
:http {:port 12345}
to get a fixed port.require
ns
in REPL(require '["fs" :as fs])
shadow-cljs --server
is running the shadow-cljs
script will now connect to that instead of launching a new JVM. Leading to much faster response times.shadow-cljs --repl
will just connect to the server and start a CLJ REPL--server
mode for the CLI, starts a shared JVM process that can be used to run multiple builds in parallel.--server
(default at localhost:8201). rlwrap nc localhost 8201
is the simplest possible client.:verbose
by default, now configured via :verbose true
in shadow-cljs.edn
:npm
config was no longer optional, it still should be:builds
, :dependencies
, :source-paths
and probaly more in the future. If you had a vector before just wrap it in {:builds the-vector}
."shadow-cljs"
entry is no longer used$CLJS
is now the name for the global in :advanced
mode, barely makes a difference with gzip compared to just $
. should avoid any potential naming conflicts.(:require ["npm-thing" :as thing]) (thing)"
CLJS-1968:advanced
in :npm-module
target builds"output-dir"
in package.json
, defaults to node_modules/shadow-cljs
target/shadow-cljs/...
instead of 3 different placesgoog.nodeGlobalRequire
when using --check
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close