Closed agzam closed 3 years ago
If I for example have sass files that import mixins from a library in npm and I pull node_modules into fileset:
npm
e.g:
(deftask add-node-modules [] (with-pre-wrap fileset (let [nm (clojure.java.io/file "node_modules")] (when-not (and (.exists nm) (.isDirectory nm)) (dosh "npm" "install")) (-> fileset (add-resource (clojure.java.io/file ".") :include #{#"^node_modules/"}) commit!))))
thanks @anmonteiro
boot-sass tries to compile things in node_modules. Definitely not something desired
Both lein and boot tasks include "inputs" option to select only certain files to compile.
If I for example have sass files that import mixins from a library in
npm
and I pull node_modules into fileset:e.g:
thanks @anmonteiro
boot-sass tries to compile things in node_modules. Definitely not something desired