Compress JS/CSS files on deploy using Git

后端 未结 3 1721
死守一世寂寞
死守一世寂寞 2021-02-09 14:28

I\'m kinda new to git. Also, this is my first project where I\'m automating the deployment process. So far it\'s been bliss to being able to do git push dev and hav

3条回答
  •  眼角桃花
    2021-02-09 14:54

    By rewriting files on dev and not having the minified files in your local repo, the two repositories will always be out of sync with each other.

    You might want to rethink the way you deploy your site to dev, instead of pushing to dev, you might want to pull on dev from a prestine repository for example.

提交回复
热议问题