Skip to content

Commit 611c1c9

Browse files
committed
Readme: wording
1 parent b069217 commit 611c1c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313

1414
var str = stringify(ast);
1515

16-
To get compressed output:
16+
To get compressed output pass `compress` option:
1717

1818
var compressed = stringify(ast, {compress: true});
1919

20-
To get a source map:
20+
To get a source map pass `sourcemap` option:
2121

2222
var ast = parse('body { font-size: 12px; }', {position: true});
2323
var result = stringify(ast, {sourcemap: true});
2424

2525
result.code // string with CSS
2626
result.map // source map
2727

28-
Note that the AST should contain position information (`position` option set to
29-
`true`).
28+
Note that the AST should contain position information (`position` option of
29+
`css-parse` set to `true`).
3030

3131
## Performance
3232

0 commit comments

Comments
 (0)