From ac167946160586032a308a7515b290ab8dc2551d Mon Sep 17 00:00:00 2001 From: Ivan Popovych <45109448+ipvych@users.noreply.github.com> Date: Wed, 6 Mar 2024 16:52:37 +0200 Subject: [PATCH] Fix typescript compiler crashing due to use of deprecated option Fixes #546 --- src/webassets/filter/typescript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webassets/filter/typescript.py b/src/webassets/filter/typescript.py index bed10aef..3210aaf7 100644 --- a/src/webassets/filter/typescript.py +++ b/src/webassets/filter/typescript.py @@ -39,7 +39,7 @@ def output(self, _in, out, **kw): with open(input_filename, 'w') as f: f.write(_in.read()) - args = [self.binary or 'tsc', '--out', output_filename, input_filename] + args = [self.binary or 'tsc', '--outFile', output_filename, input_filename] if self.config: args += self.config.split() proc = subprocess.Popen(