Skip to content

Commit ebf3539

Browse files
authored
Update :npm-deps documentation (#317)
Fixes #272
1 parent 4877963 commit ebf3539

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/reference/compiler-options.adoc

+9
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,15 @@ be indexed and used if set to a truthy value. Defaults to `false`. (In
343343
ClojureScript 1.10.339 and earlier, defaulted to `true`.)
344344
See also `:install-deps`.
345345

346+
[CAUTION]
347+
====
348+
The `:npm-deps` feature is in alpha status. Additionally, NPM dependencies
349+
configured in this manner are passed through Closure Compiler and not all NPM
350+
libraries contain Closure-compatible code.
351+
352+
A reliable alternative can be found with <<xref/../../guides/webpack#,ClojureScript with Webpack>>.
353+
====
354+
346355
[source,clojure]
347356
----
348357
:npm-deps {"lodash" "4.17.4"}

0 commit comments

Comments
 (0)