Closed alcapitan closed 1 year ago
The --config
option specifies the directory to look for the config file, searching for the usual config file names. It cannot be used to specify a custom config file name. Bootstrap's usage is slightly incorrect; they should just use --config build/
I'm currently very frustrated by this error, especially as there's no explanation on the Internet and PostCSS doesn't indicate any error even in verbose mode.
Here is my NPM commands :
This is my
.pre-postcssrc.json
config file :And my
.postcssrc.json
config file :I expect my first command with
--config .pre-postcssrc.json
to execute the.pre-postcssrc.json
file, but it executes the.postcssrc.json
file.After a lot of testing, I think PostCSS ignores the
--config
option. However, the--config
option appears innpx postcss --help
as well as in the PostCSS-cli's README.I'm using these versions :
Moreover, according to their package.json file, Bootstrap use the
--config
option, so it should works.I want this way of operation. So please tell me how to fix that error.