Skip to content

Commit

Permalink
Updated information about less imports
Browse files Browse the repository at this point in the history
Changed quite a long time ago. Needs refresh.
  • Loading branch information
grabbou committed Aug 2, 2014
1 parent 8a98be8 commit e369120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,4 +434,4 @@ Mongo was killed without cleaning itself up. Try removing `.meteor/local/db/mong

### `@importing` in less files causes errors related to variables not found.

If you're using a collection of less files that need to be imported in a specific order because of variable dependencies (like a custom Twitter Bootstrap installation) you can change the extension of the less files _to be imported_ from `.less` to `.lessimport` and then change your `@import file.less` to `@import file.lessimport`. This will prevent the less compiler from automatically trying to compile all your import files independently, yet still let you use them in the order you want.
If you're using a collection of less files that need to be imported in a specific order because of variable dependencies (like a custom Twitter Bootstrap installation) you can change the extension of the less files _to be imported_ from `.less` to `.import.less` and then change your `@import file.less` to `@import file.import.less`. This will prevent the less compiler from automatically trying to compile all your import files independently, yet still let you use them in the order you want.

0 comments on commit e369120

Please sign in to comment.