-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
PostCSS setup: PreCSS for PostCSS not working #593
Comments
I have PreCSS working by using |
I can make it work, but postcss transforms files before it imports them, so variables and functions that need to work across different files don't compile like they should. |
Not sure if this has been resolvedm but there are a couple issues that describe issues with config. Gonna close this due to inactivity and duplicates |
Intro
I'm new to Parcel, and I was trying to convert a simple existing Gulp project to a Parcel project. I'm not sure how to set up the PostCSS configurations though. I use PreCSS instead of Sass for variables with a '$' and some other functions. While the output gives no error it does not transform my variables, so the CSS won't work. What am I doing wrong here? How do I set up a transformation that will use the PreCSS plugin before the rest?
It's a bit similar to this problem, only with PreCSS instead of CSSNext .
🎛 Configuration
./.postcssrc
./index.html
./src/style.css
The text was updated successfully, but these errors were encountered: