Skip to content

Commit

Permalink
fix - Force babel to transform optional chaining (#4647)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickgalbraith committed Jan 9, 2023
1 parent 10a2448 commit b67d068
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ module.exports = {
{
loose,
modules: false,
include: ['@babel/plugin-proposal-nullish-coalescing-operator'],
include: [
'@babel/plugin-proposal-nullish-coalescing-operator',
'@babel/plugin-proposal-optional-chaining'
],
// exclude: ['@babel/plugin-transform-regenerator'],
},
],
Expand Down

0 comments on commit b67d068

Please sign in to comment.