macchiato-framework / macchiato-core

Ring style HTTP server abstraction for Node.js
MIT License
377 stars 35 forks source link

avoid node/require & replace with ns-form instead #53

Closed bwalex closed 1 year ago

bwalex commented 1 year ago

This commit replaces explicit node/require calls with the ns-form of these requires instead. That way, shadow-cljs, for example, can bundle things into a standalone node-script. Right now it can't, because it can't detect/infer these dependencies.

yogthos commented 1 year ago

thanks, just pushed out a new version to clojars with the fixes