Merge conflicts everywhere.
When you store your assets in Git, you will often have to pull, recompile, push for every change you do. That's time consuming.
It's annoying for your team.
When you store your assets in Git, and your team release a new version of your app - they will often have to deal with merge conflicts.
They slow down your servers.
If you compile your assets on the production server, that removes the merge conflict issue, but it takes up a lot of processing power and memory which should be given to your visitors.
It's difficult with large environments.
When you have multiple web servers all load-balanced, making sure the assets are updated across all is almost impossible without Git.
1. Lasso compiles your assets locally or within CI.php artisan lasso:publish
2. The built files are then stored on one of your filesystems.
3. When a deployment is made, the assets are grabbed from the filesystem.php artisan lasso:pull
Made with teams in mind. No more merge conflicts.
All of the Webpack assets are stored outside of Git, so the team won't have to keep recompiling, or re-committing assets.
Helps keep your servers snappy.
You can utilize the power of your local machine, or use CI like Github actions to do all the hardware-intensive compiling for you.
Works great with load-balanced environments.
Because there's only one source for the assets, you can pull from as many servers as you like.
Assets are integrity checked on every deployment.
When a deployment is made, Lasso will create a checksum of the artifact before it's uploaded. On each "fetch", the integrity of the artifact is checked before it even touches your public directory.
Supports multiple development environments.
Do you have a separate staging environment? Great. Lasso will store assets in that environment separately.
Versioning built right out the gate.
Lasso uses Git to store it's build information, so rolling back a commit is a breeze.
Works within Continuous Integration. Test, Lasso, Deploy.
Do you use continuous integration to compile your assets? You've already on the ball! Just run the Lasso build command, and you're set.