Skip to content
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

Multiple @import directives are duplicating (mixin) rules in compiled CSS #14

Closed
basher opened this issue Apr 25, 2012 · 3 comments
Closed

Comments

@basher
Copy link

basher commented Apr 25, 2012

Hi Mark,

I have a structure like this in my main LESS file:

@import "base";
@import "600-up";
@import "900-up";

Each of these modular LESS files imports a single "mixins.less" file.
The compiled CSS has duplicated CSS - eg:

h1 {
font-size: 36px;
font-size: 3.6rem;
font-size: 36px;
font-size: 3.6rem;
font-size: 36px;
font-size: 3.6rem;
}

This is related to this Less.js issue - less/less.js#49
which is fixed here - less/less.js@cb78933.

Are there any plans to incorporate this fix into WinLess?

Many thanks,
Kev.

@marklagendijk
Copy link
Owner

WinLess comes with the latest distributions of less.js. The fix you mentioned isn't in the latest release yet.

@basher
Copy link
Author

basher commented Apr 27, 2012

Thanks Mark. I have now commented on the less.js issue asking for an update.

btw, WinLess is awesome.

@marklagendijk
Copy link
Owner

WinLess updated to compiling via lessc with Node.js.
This should fix most compiling bugs.
Compiling bugs that still exist should be reported at the less.js project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants