Hi everyone!
I’m using ember-cli-sass v11.0.1, and I noticed that the production build has missing CSS attributes, even though when I render the app in develop mode works fine.
development build example:
.responsive-value .responsive-value-item {
border: 3px solid transparent;
transition: border 0.2s ease-in-out;
}
.responsive-value .responsive-value-item:hover {
border: 3px solid rgb(var(--bs-blue-300-rgb));
}
.responsive-value .responsive-value-item .form-select,
.responsive-value .responsive-value-item .form-control {
border-left: 0;
}
prod build result:
.responsive-value .responsive-value-item {
border:3px solid transparent;
transition:border .2s ease-in-out
}
.responsive-value .responsive-value-item:hover {
border:3px solid
}
.responsive-value .responsive-value-item .form-control,
.responsive-value .responsive-value-item .form-select {
border-left:0
}
.responsive-value .ember-power-select-trigger,
.responsive-value .form-control,
.responsive-value .form-select {
font-size:1em;
border:1px solid;
border-radius:0
}
you can see that rgb(var(--bs-blue-300-rgb));
is missing from the production build.
Is there any build optimisation run for the production build? If yes, How can I disable it?
Best, Bogdan