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 ?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With