Fork me on GitHub
#shadow-cljs
<
2024-07-25
>
Kimo12:07:16

Can I use --config-merge to set up aliases? e.g. npx shadow-cljs watch app --config-merge '{:deps {:aliases [:dev]}' So far, it doesn't seem to work. At least, if I have :extra-deps in that alias, those deps are still missing in my build.

thheller16:07:55

no that does nothing. config merge is merged into the build config, where :deps has no effect

thheller16:07:19

you can however just run via clj directly.

thheller16:07:50

clj -M -m shadow.cljs.devtools.cli watch app is almost identical to npx shadow-cljs watch app, so you can add whatever alias there

1