I found a unique solution to the problem at hand. Instead of trying to work around it, you can customize the utilities.scss file to suit your needs.
After importing the utilities.scss file, simply add the following snippet below (Check out Bootstrap's API documentation for more information). Feel free to define additional values as needed (I personally included 33 and 66):
$utilities: map-merge(
$utilities,
(
'width': (
property: width,
class: w,
responsive: true,
values: (
25: 25%,
33: 33%,
50: 50%,
66: 66%,
75: 75%,
100: 100%,
auto: auto,
),
),
)
);
The key to managing breakpoints lies in adding responsive: true,
, which will automatically include breakpoint prefixes in utilities/api
.