mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-01 10:54:18 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/postcss
12
tldr/postcss
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# postcss
|
||||
|
||||
> Transform styles with JS plugins.
|
||||
> More information: <https://postcss.org>.
|
||||
> More information: <https://github.com/postcss/postcss-cli#usage>.
|
||||
|
||||
- Parse and transform a CSS file:
|
||||
|
||||
@@ -14,15 +14,15 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Parse and transform a CSS file and output to a specific file:
|
||||
|
||||
`postcss {{path/to/file}} --output {{path/to/file}}`
|
||||
`postcss {{path/to/file}} {{[-o|--output]}} {{path/to/file}}`
|
||||
|
||||
- Parse and transform a CSS file and output to a specific directory:
|
||||
|
||||
`postcss {{path/to/file}} --dir {{path/to/directory}}`
|
||||
`postcss {{path/to/file}} {{[-d|--dir]}} {{path/to/directory}}`
|
||||
|
||||
- Parse and transform a CSS file in-place:
|
||||
|
||||
`postcss {{path/to/file}} --replace`
|
||||
`postcss {{path/to/file}} {{[-r|--replace]}}`
|
||||
|
||||
- Specify a custom PostCSS parser:
|
||||
|
||||
@@ -34,8 +34,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Watch for changes to a CSS file:
|
||||
|
||||
`postcss {{path/to/file}} --watch`
|
||||
`postcss {{path/to/file}} {{[-w|--watch]}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`postcss --help`
|
||||
`postcss {{[-h|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user