We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-o
--output
1 parent 99c4afd commit 640d208Copy full SHA for 640d208
packages/@tailwindcss-cli/src/index.ts
@@ -33,7 +33,11 @@ if (command) {
33
//
34
// - `tailwindcss -o output.css` // should run the build command, not show the help message
35
// - `tailwindcss > output.css` // should run the build command, not show the help message
36
-if ((process.stdout.isTTY && !process.argv.slice(2).includes('-o')) || shared['--help']) {
+if (
37
+ (process.stdout.isTTY &&
38
+ !process.argv.slice(2).some((flag) => flag === '-o' || flag === '--output')) ||
39
+ shared['--help']
40
+) {
41
help({
42
usage: ['tailwindcss [--input input.css] [--output output.css] [--watch] [options…]'],
43
options: { ...build.options(), ...sharedOptions },
0 commit comments