Skip to content

Commit 30badad

Browse files
authored
ensure that we fallback to the first argument without any flags (#5464)
1 parent e36d242 commit 30badad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli.js

+1
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ async function build() {
351351
// TODO: Deprecate this in future versions
352352
if (!input && args['_'][1]) {
353353
console.error('[deprecation] Running tailwindcss without -i, please provide an input file.')
354+
input = args['--input'] = args['_'][1]
354355
}
355356

356357
if (input && !fs.existsSync((input = path.resolve(input)))) {

0 commit comments

Comments
 (0)