sass - How do you handle compiled files from pre-processors in git commits? -


we meta languages sass/scss, less, coffeescript, etc. when comes git commits there 1 question: should compiled files source files repo or better ignore them? problem is, when ignoring files, 1 not use repository out of box. you've compile first (to right location) before using it. kinda bad way, because not using pre-processors. how deal it?

git used source-tracking system, , such meant use developers of project. people development on project need able build source files generated files. in case not having generated files in repository doesn't impose additional burden on them.

to useful end-users, may want periodic releases of project. these typically done archives of necessary files. include generated files, , quite-possibly exclude source files. end-user git seen unnecessary tool.

including generated files in repository doesn't either of class of people, , makes more difficult see being changed each commit.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -