Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It tries to compile anything it can lay its hands on #17

Closed
agzam opened this issue Nov 1, 2016 · 1 comment
Closed

It tries to compile anything it can lay its hands on #17

agzam opened this issue Nov 1, 2016 · 1 comment

Comments

@agzam
Copy link

agzam commented Nov 1, 2016

If I for example have sass files that import mixins from a library in npm and I pull node_modules into fileset:

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

Deraen added a commit that referenced this issue Aug 20, 2019
@Deraen
Copy link
Owner

Deraen commented Sep 27, 2021

Both lein and boot tasks include "inputs" option to select only certain files to compile.

@Deraen Deraen closed this as completed Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants