lambdaisland

Jee Lee 2024-02-29T05:29:44.686599Z

Could someone help me figure out how to setup monorepo with launchpad? I can't seem to get the output path (and the index.html serving path) right for the frontend/ that sits baseproject/frontend

Jee Lee 2024-02-29T05:30:03.454789Z

should I set the "resources" in base deps.edn?

Jee Lee 2024-02-29T05:31:18.431459Z

I currently do but when running launchpad frontend, it seems to output to baseproject/frontend/resources instead of baseproject/resources like I want to

Jee Lee 2024-02-29T05:45:17.629309Z

Oh... solved (for now). It seems I have to define :output-dir and :dev-http differently

{
 :deps true
 :builds {:myway.frontend/ui {:target :browser
                                     :output-dir "../resources/public/assets/js"
                                     :modules {:main {:entries [myway.frontend.core]}}}}
 :dev-http {5003 "resources/public"}
 }