Skip to content

Commit

Permalink
Maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
Xotic750 committed Aug 27, 2019
1 parent bddae5e commit cceee1d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Expand Up @@ -50,15 +50,7 @@ Lint and fix Less then compile to CSS.

**Example**

```js
import lessToCss from 'less-to-css-x';

// result is a postcss.LazyResult

lessToCss({source: '__tests__/basic.less'}).then((result) => {
console.log(result);
});
```
Javascript API

```js
import lessToCss from 'less-to-css-x';
Expand All @@ -80,9 +72,17 @@ lessToCss({source: '__tests__/basic.less'}).then((result) => {
});
```

**Example**

CLI

```bash
$ ./bin/less-to-css-x.js example.less
```

**Example**

Webstorm

![Alt text](images/image1.png?raw=true "Title")
![Alt text](images/image2.png?raw=true "Title")

0 comments on commit cceee1d

Please sign in to comment.