Closed skitsanos closed 2 years ago
postcss src/styles/*.css -o dist/lib.css still firing the error Input Error: Must use --dir or --replace with multiple input files
postcss src/styles/*.css -o dist/lib.css
Input Error: Must use --dir or --replace with multiple input files
PostCSS does not allow bundling into a single file?
Unfortunately couldn't find anything about it in the documentation...
No, we cannot concatenate files, because CSS is dependent on order. If you know order does not matter, you can use regular cat and pipe to postcss like this: cat src/styles/*.css | postcss -o dist/lib.css
cat
cat src/styles/*.css | postcss -o dist/lib.css
postcss src/styles/*.css -o dist/lib.css
still firing the errorInput Error: Must use --dir or --replace with multiple input files
PostCSS does not allow bundling into a single file?
Unfortunately couldn't find anything about it in the documentation...