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

Can't compile for Node.js & require native modules #175

Closed
anmonteiro opened this issue Sep 8, 2017 · 1 comment
Closed

Can't compile for Node.js & require native modules #175

anmonteiro opened this issue Sep 8, 2017 · 1 comment

Comments

@anmonteiro
Copy link

Because new CLJS adds native node modules to the compiler env when target is Node, this line is now incorrect.

https://github.com/boot-clj/boot-cljs/blob/master/src/adzerk/boot_cljs/impl.clj#L17

see https://github.com/clojure/clojurescript/blob/998933f5090254611b46a2b86626fb17cabc994a/src/main/clojure/cljs/env.cljc#L59

@Deraen
Copy link
Contributor

Deraen commented Sep 8, 2017

What is incorrect? We need to also pass in options?

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