Hi all,
Is there a way I can improve the styes.scss bundle size? using just the 8.2.1 skeleton project it is
styles.d5205ccd91fc897d.css | styles | 1.56 MB | 89.89 kB
This is already exceeding the recommended 2mb total build size when with the other chunks.
Hi Rob,
Thank you for reaching out. To address the issue of the styles.scss bundle size, you can consider optimizing your styles by removing unused components. You might find that most of style components are included by default, and you may not need all of them for your specific project.
You can start by reviewing removing styles from the following files:
/angular/demo1/src/assets/sass/core/vendors/plugins/_plugins.scss
/angular/demo1/src/assets/sass/core/components/components.scss
These files contain a variety of style components, and removing the ones not used in your project can reduce the overall bundle size. Ensure that you keep the styles necessary for your application to function.
After making these adjustments, rebuild your project, and you could see a reduction in the styles.scss bundle size.
If you have further questions, feel free to ask.
Thanks