Question:
The current front-end code is currently compressed by using PHP to tune a toolkit, but the feeling is not very good, the link is very long, although the code is also compressed, and it is parsed by eval.
Now I would like to ask you how to deploy, such as online compression, development and merger, does this need to be done manually?
If I am local, I can try to use node to do it myself, but at the back end of PHP, I don’t know how people do these things.
The front end has entered the era of large-scale production.
Update answer: “How does big company inside develop and deploy front-end code? 」https://github.com/fouber/blog/issues/6
Three carriages: Yeoman and Grunt and Bower.
Of course, Grunt is used to build things automatically.