the meaning of the Assembly to collect all in one file. In most cases at least.
Not to terrorize the server with queries and that there is no flicker when loading extra styles.
And overall boot time is reduced by reducing the number of http requests.
Modules-then you no one bothers to do different things in different files
, but to gather into one useful and necessary. Of course if there's not 10 megabytes of JS scripts.
Then we separately collect on the "necessary" and functionality: https://laravel.com/docs/5.3/elixir#working-with-s...
mix.scripts(['app.js', 'controllers.js'], 'public/js/app.js')
.scripts(['forum.js', 'threads.js'], 'public/js/forum.js');