Welcome! Please see the About page for a little more info on how this works.

0 votes
in tools.namespace by

Since July 2017, in clojurescript, one can require npm modules using the following syntax:
(:require (link: "honeybadger-js" :as honeybadger))

The npm module to required is passed as a string.

See https://clojurescript.org/news/2017-07-12-clojurescript-is-not-an-island-integrating-node-modules for the full details.

Currently, tools.namespace consider this form as invalid.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/TNS-51 (reported by viebel)
...