Works for import s from 'file.css', but not for global import 'file.css'
rockus123 opened this issue · comments
rockus_123 commented
isomorphic-style-loader v. 5.1 works for withStyles(s) HOC:
import s from './file.css'
but not for global
import './file.css'
Please advise. Thank you.
Tom Pietrosanti commented
Related: How can global CSS be imported such that global and cascaded styles are correctly applied (without class names)? Note that this CSS is also used by other engines, so it can't rely on any special, non-css syntax (Unless the css continues to work correctly when it's ignored)
Jeremy Gottfried commented
Same issue. Is there any way to fix it other than switching to a module?