Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works for import s from 'file.css', but not for global import 'file.css' #183

Open
rockus123 opened this issue Apr 9, 2020 · 2 comments

Comments

@rockus123
Copy link

rockus123 commented Apr 9, 2020

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.

@Rykus0
Copy link

Rykus0 commented Jun 16, 2021

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)

@jeremygottfried
Copy link

Same issue. Is there any way to fix it other than switching to a module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants