Moodle Boost theme SCSS migrated to Bootstrap 5 (Only SCSS, not the entire theme). This SCSS compiles without any error with Bootstrap 5. See the Blog Post