My website is an Angular SPA with SSR that works perfectly. To lazy load the components based on the path, I used lazy loaded modules.
Because of the libraries I use, my main.js file is roughly 3MB, which increases the Total Blocking Time (TBT) on pagespeed insights.
I'll have to separate main.js into multiple files to lessen the TBT.
Is it possible to bundle files like angular-core.bundle.js, angular-material.bundle.js, and chart-js.bundle.js
?
I heard that this could be done using the splitchunksplugin, but I couldn't figure out how to do it. Please assist me in achieving this.