This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-12
Channels
- # adventofcode (1)
- # announcements (6)
- # babashka (28)
- # beginners (75)
- # calva (8)
- # clj-commons (4)
- # clojure (39)
- # clojure-austin (5)
- # clojure-europe (7)
- # clojurescript (14)
- # clr (3)
- # datalevin (2)
- # fulcro (7)
- # funcool (1)
- # graphql (4)
- # helix (3)
- # hyperfiddle (5)
- # joyride (15)
- # malli (1)
- # missionary (16)
- # practicalli (1)
- # releases (1)
- # reveal (2)
- # tools-deps (14)
- # vim (9)
my js/require is failing but I'm not sure what I'm doing wrong, trying to do this:
(def strip-json (js/require "strip-json-comments"))
it's a library included in .vscode-server/bin, was trying to use it to strip comments from config json files in presumably the same way vscode does itJust use ‘require’ instead of js/require, it brings you the same feature and in a next version js/require won’t be supported anymore
And we are not searching vscode’s internal libraries. That would make the scripts unnecessary dependent on vscode version, I think.
Package.json no cljs or nbb libs though right? Although many arbitrary cljs scripts wouldn't compile to nbb anyway right
We haven't gotten to CLJS dependency management yet. You'll need to copy their source code. And they can't depend on something that Joyride does not provide built-in. See https://github.com/BetterThanTomorrow/joyride/blob/master/doc/api.md#clojurescript-namespaces You are welcome to help bring in built-in libraries that you miss.