isomorphic-style-loader
isomorphic-style-loader copied to clipboard
Works for import s from 'file.css', but not for global import 'file.css'
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.
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)
Same issue. Is there any way to fix it other than switching to a module?