Open balajmarius opened 7 years ago
@balajmarius interesting - looks like it thinks 'sip.css' references a CSS file! Must be something to do with CRA webpack config, as works with a simple config.
You are right, CRA uses css-loader
and sip.css
is interpreted as a CSS file.
@balajmarius I guess if Sip is being used then so will a CSS-in-JS library, which means css-loader
will not be needed? CRA users could then just run npm run eject
and remove from Webpack config.
It is interesting that CSS-in-JS isn't the default for CRA but I imagine they wanted to keep it as simple as possible!
I'm trying to use
Sip.css
withwebpack 2 / react-create-app
but the result of the import is a string.I am doing something wrong?