mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
In addition to the old `*.lessimport` and `*.import.less` mechanisms for
telling the `less` package that a file isn't a root, you can also put it
in an `import` subdirectory or pass `{isImport: true}` to
`api.addFiles`. We no longer will need to rename every less file when we
upgrade.
Next commit will revert the changes to examples and docs.
14 lines
394 B
Plaintext
14 lines
394 B
Plaintext
@import "/tests/top.import.less";
|
|
@import "{local-test:less}/tests/top2.less";
|
|
@import "in-dir.import.less";
|
|
@import "./in-dir2.import.less";
|
|
@import "subdir/in-subdir.import.less";
|
|
|
|
|
|
.el1 { border-style: @el1-style; }
|
|
.el2 { border-style: @el2-style; }
|
|
.el3 { border-style: @el3-style; }
|
|
.el4 { border-style: @el4-style; }
|
|
.el5 { border-style: @el5-style; }
|
|
.el6 { border-style: @el6-style; }
|