-
Notifications
You must be signed in to change notification settings - Fork 3.4k
@import (reference) and @media #2547
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
Comments
I can't reproduce this with either Less |
I must admit I didn't test that quick example. Here is a pastebin link (http://pastebin.com/dStVuRnf) to the file being IMPORTED, which is causing the unexpected output (i.e. the @media content being injected). As an additional note, contrarily to the suggested duplicates, I'm not using any frameworks or libraries. |
Then it's #1851 (i.e. it's |
Closing as a duplicate of #1851. |
thx for the reference! |
Using Grunt-contrib-less (1.0.1)
When importing a .less file containing @media queries, the styles within @media are imported even if the import directive is set to (reference), below is an example:
imported.less
importer.less
will output:
The text was updated successfully, but these errors were encountered: