Fork me on GitHub
#squint
<
2024-01-15
>
Anton Shastun14:01:01

Hi! How i can define cljs deps in squint, and make them install?

borkdude15:01:31

you currently can't (out of the box, there are workarounds to get something on the path by creating an uberjar, unzipping it and add the unzipped dir to squint.edn :paths )

Anton Shastun15:01:08

Any plans to support cljs deps out of the box?

borkdude15:01:26

What cljs dep are you trying to use?

Anton Shastun16:01:04

after build project with Reagent got .js files but how i can require them in Squint? Looks like it works only with .mjs

borkdude16:01:08

I will reply later tonight, afk now

👍 1
borkdude16:01:32

the way to think about squint is: you want to write JS, but you don't want to use JS-es syntax and want to write in a way that you're used to in CLJS -- but it isn't actually CLJS. See the README.md for differences

Anton Shastun18:01:06

Thank you for the explanation!