summaryrefslogtreecommitdiff
path: root/cli/tsc.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-22 19:23:35 +0200
committerGitHub <noreply@github.com>2020-05-22 19:23:35 +0200
commit960f9ccb2e700332dc576163b62c518120c73f15 (patch)
tree3bca9c5c449c01344f7dea9a945032fe17bffe63 /cli/tsc.rs
parente191c70989a1dbf29b095bf6c2f7b62b90de012a (diff)
fix: SWC lexer settings and silent errors (#5752)
This commit changes how error occurring in SWC are handled. Changed lexer settings to properly handle TS decorators. Changed output of SWC error to annotate with position in file.
Diffstat (limited to 'cli/tsc.rs')
-rw-r--r--cli/tsc.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/tsc.rs b/cli/tsc.rs
index 34f3b6de4..664721bc1 100644
--- a/cli/tsc.rs
+++ b/cli/tsc.rs
@@ -466,7 +466,6 @@ impl TsCompiler {
let module_graph = module_graph_loader.get_graph();
let module_graph_json =
serde_json::to_value(module_graph).expect("Failed to serialize data");
-
let target = match target {
TargetLib::Main => "main",
TargetLib::Worker => "worker",