@@ -30,33 +30,36 @@ Usage:
3030 postcss <input.css>... [OPTIONS] --replace
3131
3232Basic options:
33- -o, --output Output file [string]
34- -d, --dir Output directory [string]
35- -r, --replace Replace (overwrite) the input file [boolean]
36- --map, -m Create an external sourcemap
37- --no-map Disable the default inline sourcemaps
38- --verbose Be verbose [boolean]
39- --watch, -w Watch files for changes and recompile as needed [boolean]
40- --env A shortcut for setting NODE_ENV [string]
41- --include-dotfiles Enables glob to match files/dirs that begin with "." [boolean]
42-
43- Options for when not using a config file:
33+ -o, --output Output file [string]
34+ -d, --dir Output directory [string]
35+ -r, --replace Replace (overwrite) the input file [boolean]
36+ -m, --map Create an external sourcemap
37+ --no-map Disable the default inline sourcemaps
38+ -w, --watch Watch files for changes and recompile as needed [boolean]
39+ --verbose Be verbose [boolean]
40+ --env A shortcut for setting NODE_ENV [string]
41+
42+ Options for use without a config file:
4443 -u, --use List of postcss plugins to use [array]
4544 --parser Custom postcss parser [string]
4645 --stringifier Custom postcss stringifier [string]
4746 --syntax Custom postcss syntax [string]
4847
48+ Options for use with --dir:
49+ --ext Override the output file extension; for use with --dir [string]
50+ --base Mirror the directory structure relative to this path in the output
51+ directory, for use with --dir [string]
52+
4953Advanced options:
50- --ext Override the output file extension; for use with --dir [string]
51- --base Mirror the directory structure relative to this path in the output
52- directory, for use with --dir [string]
53- --poll Use polling for file watching. Can optionally pass polling interval;
54- default 100 ms
55- --config Set a custom directory to look for a config file [string]
54+ --include-dotfiles Enable glob to match files/dirs that begin with "."
55+ [boolean]
56+ --poll Use polling for file watching. Can optionally pass polling
57+ interval; default 100 ms
58+ --config Set a custom directory to look for a config file [string]
5659
5760Options:
58- --version Show version number [boolean]
59- -h, --help Show help [boolean]
61+ --version Show version number [boolean]
62+ -h, --help Show help [boolean]
6063
6164Examples:
6265 postcss input.css -o output.css Basic usage
@@ -68,8 +71,9 @@ If no input files are passed, it reads from stdin. If neither -o, --dir, or
6871
6972If there are multiple input files, the --dir or --replace option must be passed.
7073
71- Input files may contain globs (e.g. src/**/*.css). If you pass an input directory, it will process
72- all files in the directory and any subdirectories, respecting the glob pattern.
74+ Input files may contain globs (e.g. src/**/*.css). If you pass an input
75+ directory, it will process all files in the directory and any subdirectories,
76+ respecting the glob pattern.
7377```
7478
7579> ℹ️ More details on custom parsers, stringifiers and syntaxes, can be found [ here] ( https://github.com/postcss/postcss#syntaxes ) .
0 commit comments