mirror of
https://github.com/less/less.js.git
synced 2026-02-10 23:15:13 -05:00
New logic: directive with body that contains something referenced (for example by extend) will be shown in output too. @Media works with the same logic - it shows up in output if it contains something visible. Related to: #2359
22 lines
334 B
Plaintext
22 lines
334 B
Plaintext
@import (reference) url("import-once.less");
|
|
@import (reference) url("css-3.less");
|
|
@import (reference) url("media.less");
|
|
@import (reference) url("import/import-reference.less");
|
|
|
|
.b {
|
|
.z();
|
|
}
|
|
|
|
.zz();
|
|
|
|
.visible:extend(.z all) {
|
|
extend: test;
|
|
}
|
|
|
|
.test-mediaq-import {
|
|
.mixin-with-mediaq(340px);
|
|
}
|
|
|
|
.class:extend(.class all) {
|
|
}
|