-
Notifications
You must be signed in to change notification settings - Fork 973
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
2.0.0 version postcss-import bug #1127
Comments
Can you give more context on this? Are you using a custom webpack config? This is usually happening because there are issues on how |
I am getting this issue as well using postcss-brunch even though it sets the |
I believe this is a bug with css-loader (or css-modules-loader-core) and postcss-loader. I don't have a workaround for @razor-x, but instead of composes, we could use The syntax would change from
Thoughts? |
This is generating a lot of issues, so I've tool @waldnercharles approach. Although the caveat is that now the CSS is not reused in the bundle, it's a good price to pay to skip these issues. |
I agree. I remember at some point the plan was to distribute the package with css files already processed through postcss-import. If that is still happening then the first approach would only affect users attempting to import the unprocessed src files which should be rare and perhaps not officially supported, at least initially. |
I'm not sure if this is someting that needs to be fixed on the
react-toolbox
side.When I try to use
postcss-import
to import fromreact-toolbox/lib/[component]/theme.css
, it is unable to find relative imports like../helpers.css
.Are there any examples that use
postcss-import
usingreact-toolbox
from npm?The text was updated successfully, but these errors were encountered: