I'm trying to convert my existing babel with preset commands on GitLab Pages CI to the new minify, but am running into problems because there's no TTY on the Docker runner the CI uses. I find a related issue which states that 'There is no tty with Gitlab CI'. This means that process.stdin.isTTY is always false (see simple test), and cli.js runs runStdin() which fails because there are file params.
I can for the moment continue to use babel/preset, but I think it would be better if minify could handle this situation, perhaps by adding an option to bypass the TTY check if running in this sort of environment?
I'm trying to convert my existing
babelwith preset commands on GitLab Pages CI to the newminify, but am running into problems because there's no TTY on the Docker runner the CI uses. I find a related issue which states that 'There is no tty with Gitlab CI'. This means thatprocess.stdin.isTTYis always false (see simple test), andcli.jsrunsrunStdin()which fails because there are file params.I can for the moment continue to use
babel/preset, but I think it would be better ifminifycould handle this situation, perhaps by adding an option to bypass the TTY check if running in this sort of environment?