Skip to content

Commit 759dc56

Browse files
committed
Update readme
1 parent 214ebda commit 759dc56

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ console.log(JSON.stringify(output_obj, null, 2));
3030

3131
`options`:
3232

33-
- `filename` - recommended for debugging.
33+
- `source` - recommended for debugging.
3434
- `position` - `true` by default.
3535

3636
### Errors
@@ -39,8 +39,7 @@ Errors will have `err.position` where `position` is:
3939

4040
- `start` - start line and column numbers
4141
- `end` - end line and column numbers
42-
- `filename` - filename if passed to options
43-
- `source` - source CSS string
42+
- `source` - `options.source` if passed to options
4443

4544
If you create any errors in plugins such as in [rework](https://github.com/reworkcss/rework), you __must__ set the `position` as well for consistency.
4645

0 commit comments

Comments
 (0)