polylith

itaied 2025-11-18T07:55:56.833959Z

i'm going over the poly tutorial and i wonder how can i add cljs dialect after i have created the workspace already with clj dialect ( i want to support both) can i do it with poly or should i write it manually in the files?

tengstrand 2025-11-18T09:47:02.518129Z

You need to do it manually: • Add "cljs" to :dialects in workspace.edn. • Add package.json files to bricks and project (including the root config file for dev). I think that is pretty much it. You can take inspiration from the https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app/tree/cljs-frontend.

🙌 2
itaied 2025-11-18T19:41:28.353179Z

does it make sense that poly takes so much time to execute?

itaied 2025-11-18T19:58:56.182189Z

ok just found out about the poly shell 💪

1