I want it to process .dev.css
files and output the result in the same folder but only with the .css
extension.
Expected result:
src
login.dev.css <-- input file
login.css <-- output file
I'm using postcss-cli
like this:
postcss src/**/*.dev.css --base src --dir src --ext css --watch --config postcss.config.js
Current result:
It does not remove the .dev
extension, so it overrides the same file and result in an infinite loop.