1

Heroku detects app type by presence of files like package.json or project.clj.

I am trying to build Clojure app, so I have project.clj in my root directory. But I also use some node.js tools, so I have package.json too.

Is there a way to tell Heroku what kind of app I build, but keep package.json?

1 Answer 1

1

Create a .slugignore file with the contents package.json and Heroku will not see that file, even though it will be in your git archive.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.