how to build separate js, css bundle for frontend and backend using vite in laravel?
Hello,
How to build frontend and backend separate jss css bundle using vite in laravel application? In frontend I'm using tailwind css and tailwind elements and I'm using bootstrap 5 and admin lte for admin panel - backend.
I hope someone already done this. what configuration in vite configuration will give such build output.
@MohamedTammam question is clear, I want js and css bundle separate for frontend and js and css bundle for backend separate. And I want to use vite because vite is default compiler/mixer now in laravel 9. If I use just one bundle, It will be so big and for frontend pages, the backend js and css is not needed and vice versa.