vscode-calva

How to connect a ClojureScript node REPL to my :node-library shadow-cljs project?

眉间皱痕 提交于 2019-12-24 02:59:18
问题 Context I am building a Node.js library with ClojureScript and shadow-cljs. All development is done with ClojureScript but the build artefact is a NPM package. Example: (ns com.example.answer) (defn answer [] 42) build... release... then const answer = require('answer'); answer(); //=> 42 NB: I recently contributed the details of my build setup to this post. My entire development environment is in a Docker container and I am using the "Visual Studio Code Remote - Container" extension.