You can split it into multiple. But some of the idea is that the browser will cache the file after the first request meaning it won't have to reload the file after multiple page visits. You often just want to split out your dependencies. This page explains how to do that https://laravel-mix.com/docs/6.0/extract
But in mix you can have several entry points
mix.js('src/app.js', 'dist/foo.js')
.js('src/app2.js', 'dist/foo2.js')