From ab685221af72ec81017c70265ee0c46ad6b91b14 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Fri, 10 Sep 2021 10:06:48 +0200 Subject: [PATCH] ensure missing -i still works The deprecation warning is there, but it should keep working though! --- src/cli.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli.js b/src/cli.js index 9a79ce3f9..0c05a30d6 100644 --- a/src/cli.js +++ b/src/cli.js @@ -353,6 +353,7 @@ async function build() { // TODO: Deprecate this in future versions if (!input && args['_'][1]) { console.error('[deprecation] Running tailwindcss without -i, please provide an input file.') + input = args['--input'] = args['_'][1] } if (input && !fs.existsSync((input = path.resolve(input)))) {