Hey everyone, I'm using an admin panel that has a huge style.css file 1.3mb and other js files that are 200kb each. How do i reduce their sizes? I tried purgeCss with laravel mix but it's removing classes that my project is using.
I didn't find anything helpful and simple for beginners on youtube and in the docs. Any suggestions ?
@nexxai thank you. I'm in development build. So if I understood you correctly as I figure out how to host the project this issue will be resolved? (I'm new to this so excuse my dumb questions)
@MohamedTammam thank you, I tried that and the file got minified to 972kb (from 1.3mb) its still too much. This is the code from vite.config.js
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';