Skip to content

Commit ab68522

Browse files
committed
ensure missing -i still works
The deprecation warning is there, but it should keep working though!
1 parent cd15b3e commit ab68522

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ async function build() {
353353
// TODO: Deprecate this in future versions
354354
if (!input && args['_'][1]) {
355355
console.error('[deprecation] Running tailwindcss without -i, please provide an input file.')
356+
input = args['--input'] = args['_'][1]
356357
}
357358

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

0 commit comments

Comments
 (0)