it seems that in
src/components/my-react-component/MyReactComponent.tsx
the line
import './MyReactComponent.scss'; doesn't have any effect
the real CSS happens in the wrapper, e.g. the line
styleUrls: ['./MyReactComponent.scss'],
in MyReactComponentWrapper.tsx is what does the job.
this kind of breaks the whole idea of having a separate component (e.g. code with styling) since the styling is bundled with the wrapper - not the react component
wondering if anyone was able to get around that
it seems that in
src/components/my-react-component/MyReactComponent.tsxthe line
import './MyReactComponent.scss';doesn't have any effectthe real CSS happens in the wrapper, e.g. the line
styleUrls: ['./MyReactComponent.scss'],in
MyReactComponentWrapper.tsxis what does the job.this kind of breaks the whole idea of having a separate component (e.g. code with styling) since the styling is bundled with the wrapper - not the react component
wondering if anyone was able to get around that