-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Doesn't play nicely with postcss-import when using @media #160
Comments
Did you try downgrading postcss to 4.1.16? |
Actually, I downgraded was getting the same error... but, turns out it was a source order issue. Just needed to use |
Thanks. Glad you like it. Yeah it seems there are a lot of Issues lately about order of operations. At first glance it seems like compiling Lost before anything else would solve them. Thoughts? |
Well, it's really nice to order dependencies by declaring them directly in your css with require/import statements, so you don't have to think about order, just local dependencies. That means a single entry point and you can't process lost on a bunch of require/import statements. Fortunately Sass, Less and Stylus handle order for you, but with Postcss you have to handle it for yourself. A Postcss specific note in the README or installation wiki would help, but it's not necessarily part of the scope of Lost. It's more a Postcss domain I think, but it couldn't hurt :). |
Getting a TypeError when importing a file with a lost-column style inside an @media query.
Here is my stacktrace:
The text was updated successfully, but these errors were encountered: