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

Compiler Feature: node_modules should be a default include path for circuit files #69

Open
deluca-mike opened this issue Oct 15, 2020 · 0 comments

Comments

@deluca-mike
Copy link

deluca-mike commented Oct 15, 2020

I've noticed other package that install and use circomlib by including in directly in their node_modules directory, which results in no such file or directory errors when those packages are then installed and used by others.

Example: '/Users/some_user/Projects/maci/contracts/node_modules/maci-circuits/node_modules/circomlib/circuits/mux1.circom'

If one could include "circomlib/circuits/mux1.circom"; instead of include "../node_modules/circomlib/circuits/mux1.circom"; it would be better for everyone.

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

1 participant