Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Reduce size of coreui build (remove unused JS and CSS components) #709

Unanswered
VNovytskyi asked this question in Q&A
Discussion options

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!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.