hyperfiddle

thomas 2025-07-15T13:18:32.394599Z

Hi, is there a way to use 3rd party js libs in combination with HF? Add a package.json and add the lib in there? and then require it in your .cljs files?

Hendrik 2025-07-15T13:25:21.583449Z

yes it is possible. I did it with threejs. Package.json is one possibility. Another is to use deps.cljs like here: https://github.com/HendrikLevering/electric3-threejs/blob/main/src/deps.cljs The latter has is advantageous, if you create a library because users of your lib can just add it as a dependency in deps.edn.

🙏 1