Skip to content

Commit 8890647

Browse files
committed
Update README.md
1 parent 9f91745 commit 8890647

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The `directories` array is optional. If you don't have any directories that you
4646
),
4747
);
4848

49-
That will get all files matching `application/less/*.less` (case-insensitive, non-recursive) and compile them to CSS in the `public/css' directory. For example, the file `application/less/test.less` becomes `public/css/test.css`.
49+
That will get all files matching `application/less/*.less` (case-insensitive, non-recursive) and compile them to CSS in the `public/css` directory. For example, the file `application/less/test.less` becomes `public/css/test.css`.
5050

5151
If you want to specify single LESS files or want to specify the output filename, use `files`.
5252

@@ -72,4 +72,10 @@ I added snippets just because. They're probably not great practice, but maybe yo
7272
),
7373
);
7474

75-
That should be pretty self-explanatory.
75+
That should be pretty self-explanatory.
76+
77+
### One final note
78+
79+
`laraveless` uses `lessphp`'s `ccompile` method, which means that only source less files modified more recently than the destination css file are compiled, so you shouldn't take a performance hit.
80+
81+
... except for on snippets, which are compiled and written to disk every time the bundle is started.

0 commit comments

Comments
 (0)