Hello,
I'm experiencing some issues by executing this command:
postcss components/**/*.css --dir 'wouldBeIgnoredAnyway' -o 'styles/app.css'
It compiles every source files well but output only contains the last compiled file.
I've checked the source code, that's because css() does fs.outputFile() which overwrite content every time one input get proceed.
Yet, I did a little fix on a fork available here : https://github.com/TheSuperFly/postcss-cli/tree/fix/overwritting. I'll create a pull request when a maintainer confirms that's a real issue and not a bad usage.
Hello,
I'm experiencing some issues by executing this command:
It compiles every source files well but output only contains the last compiled file.
I've checked the source code, that's because
css()doesfs.outputFile()which overwrite content every time one input get proceed.Yet, I did a little fix on a fork available here : https://github.com/TheSuperFly/postcss-cli/tree/fix/overwritting. I'll create a pull request when a maintainer confirms that's a real issue and not a bad usage.