I am trying to use some of the utility classes from bootstrap in my scss file.
example
.pageTitle { @extend .p-3, border-bottom: 1px solid red}
I am importing bootstrap like this @import '~bootstrap/scss/bootstrap-grid.scss';
When I try to extend the utility classes in many files, I have to include bootstrap.scss in multiple which is increasing my bundle size when I try to bundle using webpack. It also increases my build time drastically.
Is there a way to include the bootstrap.scss
once and bundle it once as well?