Laravel people, to build assets locally and then commit them, OR have the CI pipeline build it?
Which one do you prefer and why?
Back
•
In response to @mortenebak
I still build them in the pipeline and have only had a few instances over the years where broken CSS was deployed to the server.
In a conversation with Tobias Koppers (the creator of Webpack), he strongly advised me against building on the server. Instead, he recommended building locally, verifying the results, and then deploying.