summaryrefslogtreecommitdiff
path: root/cli/module_graph.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-03-15 13:56:31 -0400
committerGitHub <noreply@github.com>2021-03-15 13:56:31 -0400
commit2ff9b01551d4bdb3a820774252706d4e58bceaba (patch)
treee7f4a547a6a37ee18b30ac1065a2eaa46ae2cba4 /cli/module_graph.rs
parent0ae079fe50c674824e86a1a0aeb4d2dbd5721dbf (diff)
Revert "fix(cli/module_graph): Set useDefineForClassFields to true" (#9792)
Backwards incompatible change cannot be made in-between patch releases. This commit broke std tests https://github.com/denoland/deno_std/runs/2112369372 This reverts commit c4709834b37640fd3c9d492123e6add904546573.
Diffstat (limited to 'cli/module_graph.rs')
-rw-r--r--cli/module_graph.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/module_graph.rs b/cli/module_graph.rs
index ddfc3ad84..ad6d01589 100644
--- a/cli/module_graph.rs
+++ b/cli/module_graph.rs
@@ -809,7 +809,6 @@ impl Graph {
"strict": true,
"target": "esnext",
"tsBuildInfoFile": "deno:///.tsbuildinfo",
- "useDefineForClassFields": true,
}));
if options.emit {
config.merge(&json!({
@@ -955,7 +954,6 @@ impl Graph {
"module": "esnext",
"strict": true,
"target": "esnext",
- "useDefineForClassFields": true,
}));
let opts = match options.bundle_type {
BundleType::Esm | BundleType::Iife => json!({