Skip to content

Commit

Permalink
Allow using optional chaning from es
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Feb 2, 2020
1 parent 196740c commit 17043ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl Options {
Optional::new(react::react(cm.clone(), transform.react), syntax.jsx()),
Optional::new(typescript::strip(), syntax.typescript()),
Optional::new(nullish_coalescing(), syntax.nullish_coalescing()),
Optional::new(optional_chaining(), syntax.typescript()),
Optional::new(optional_chaining(), syntax.optional_chaining()),
resolver(),
const_modules,
optimization,
Expand Down

0 comments on commit 17043ea

Please sign in to comment.