-
Notifications
You must be signed in to change notification settings - Fork 3.4k
(reference) imports broken #1633
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
Wondering if this has anything to do with #1469 (Reference import not importing media queries) |
I'm experiencing the same issue. I don't suppose there's a work around? |
I fixed a bug with media queries not coming through on mixin calls and I couldn't reproduce what you are describing with 1.6.3. If this isn't fixed please give me a test case and what version of bootstrap you are using. |
Using LESS 1.6.3 & 1.7, if you pass a file with I had a Grunt project that was running LESS 1.5.1 and Bootstrap 3.0.3 and it works as expected: output CSS file is empty. So a gremlin has creeped in somewhere... |
Using Bootstrap 3 files, the (reference) import option doesn't handle media queries and "generative" structures.
Example 1
test.less
Produces:
test.css
So it works correctly until it hits the media query in the type.less file.
Example 2
The "make-grid" portions also transgress the (reference) import. Try:
And basically the entire grid gets output (all the .make-* lines).
Example 1 is more interfering than example 2 as that means a modular approach, where media queries are bundled with the module/component will break the (reference) option for a project.
The text was updated successfully, but these errors were encountered: