Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to include theme without importing bootstrap from pre-defined path added #4

Merged
merged 2 commits into from
Mar 13, 2021
Merged

Conversation

f1mishutka
Copy link

I have bootstrap 5 as part of my project already. So I do not need this theme to be compiled as separate css but include it in my composite css.

When I include select2-bootstrap-5-theme.scss I have problem with this lines:
@import "node_modules/bootstrap/scss/xxx";

This is because I have bootstrap at another path (I do not use npm in this project at all).

With this pull request I add _include-all.scss file to be included separately in such custom cases. And select2-bootstrap-5-theme.scss just imports it after importing bootstrap dependencies.

Checked everything to be compiled with gulp.

@apalfrey
Copy link
Owner

Yep, that's absolutely fine, I'll go ahead and merge this

@apalfrey apalfrey merged commit ae816e5 into apalfrey:master Mar 13, 2021
@f1mishutka
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants