namwoo
namwoo

Reputation: 89

short issue: gulpfile.js should be in .gitignore?

I am newbie at frontend development :) Here is my short question.

I assume that at this point gulp is only for developing, not deploying. And, typically, build folder and node_modules are include in .gitignore. So, is it better to put gulpfile.js to .gitginore?

or is there any other use of gulpfile.js when source code is deployed ?

Upvotes: 4

Views: 2011

Answers (1)

1ven
1ven

Reputation: 7026

You should keep in .gitignore files, which you don't want to be stored in your git repo, for example node_modules dir.

gulpfile.js should be inside of your repo, as it required dependency for building your project

Upvotes: 7

Related Questions