Skip to content

Commit 1e1dce4

Browse files
committed
Update docs
1 parent 55466e2 commit 1e1dce4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ cat input.css | postcss [OPTIONS] > output.css
4747
|`-s, --syntax`|`{String}`|`undefined`|Custom PostCSS Syntax|
4848
|`-s, --stringifier`|`{String}`|`undefined`|Custom PostCSS Stringifier|
4949
|`-w, --watch`|`{Boolean}`|`false`|Enable Watch Mode|
50+
|`--poll`|`{Boolean}`|`false`|Use polling for file watching|
5051
|`-u, --use`|`{Array}`|`[]`|PostCSS Plugins|
5152
|`-m, --map`|`{Boolean}`|`{ inline: true }`|External Sourcemaps|
5253
|`--no-map`|`{Boolean}`|`false`|Disable Sourcemaps|
@@ -73,6 +74,8 @@ module.exports = {
7374
}
7475
```
7576

77+
Note that you **can not** set the `from` or `to` options for postcss in the config file. They are set automatically based on the CLI arguments.
78+
7679
### Context
7780

7881
For more advanced usage it's recommend to to use a function in `postcss.config.js`, this gives you access to the CLI context to dynamically apply options and plugins **per file**

0 commit comments

Comments
 (0)