2

I've read through the Truffle docs on configuration, but I haven't found the option of providing a different file name other than truffle-config.js or truffle.js.

In my case, I need multiple files because I have different compiler settings when running coverage on my smart contracts.

Is there something I missed or this is not an available feature as of now?

2 Answers 2

1

--config path/to/config.js option is now implemented

2

This is tracked by Truffle issue #1879.

(Not entirely sure what the code flow would be after its implementation, but getTruffleConfig.js might be a good place to start having a poke around if you're feeling brave.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.