Consider this code:
// File A1.scss
.abc {
// styles for abc
}
.def {
// styles for def
}
// File B2.scss
.xyz {
// styles for xyz
}
Is it possible to import and use .abc
from A1.scss
into B2.scss
without having the class .def
in B2.css
(i.e. the output of B2.scss
)?
A1.scss
is large in real project, so can't afford to have B2.scss
be bloated with other styles. I am using this in a React app with Webpack.