Reduce size of coreui build (remove unused JS and CSS components) #709
Unanswered
VNovytskyi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
We are using the CoreUI PRO for Bootstrap. I read the article https://coreui.io/bootstrap/docs/5.0/customize/optimize/ and as I understand there is the ability to customize the build of CoreUI and reduce the size of files (coreui.bundle.js and coreui.css). In case of removing unused CSS components we need to comment modules in file scss/coreui.scss (as describes in docs). But I don`t understand how to remove unused JS components. My web application very simple and using the GULP build system. I just add files coreui.bundle.js and coreui.css to my project. May be there is another way to using only required components for my project?. Final CSS and JS files must include all stack to work without external links, because the device which run server may be without internet connection.
I hope somebody can help me with my question!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions