Skip to content

Commit 67b0923

Browse files
authored
Merge pull request #2910 from hapijs/fix/optional-chaining
fix: transpile optional chaining
2 parents 79a2af4 + 5036947 commit 67b0923

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

browser/webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ module.exports = {
4646
]
4747
],
4848
plugins: [
49-
'@babel/plugin-proposal-class-properties'
49+
'@babel/plugin-proposal-class-properties',
50+
'@babel/plugin-proposal-optional-chaining',
51+
'@babel/plugin-proposal-nullish-coalescing-operator',
5052
]
5153
}
5254
}

0 commit comments

Comments
 (0)