File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11{
2- "presets" : [" @babel/typescript" ]
2+ "presets" : [" @babel/typescript" ],
3+ "plugins" : [
4+ " @babel/plugin-proposal-optional-chaining" ,
5+ " @babel/plugin-proposal-nullish-coalescing-operator"
6+ ]
37}
Original file line number Diff line number Diff line change 8787 "devDependencies" : {
8888 "@babel/cli" : " ^7.8.4" ,
8989 "@babel/core" : " ^7.9.0" ,
90+ "@babel/plugin-proposal-nullish-coalescing-operator" : " ^7.8.3" ,
9091 "@babel/plugin-proposal-optional-chaining" : " ^7.9.0" ,
9192 "@babel/preset-env" : " ^7.9.5" ,
9293 "@babel/preset-typescript" : " ^7.9.0" ,
Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ const configuration: Configuration = {
1515 loader : "babel-loader" ,
1616 options : {
1717 presets : [ "@babel/preset-typescript" ] ,
18- plugins : [ "@babel/plugin-proposal-optional-chaining" ] ,
18+ plugins : [
19+ "@babel/plugin-proposal-optional-chaining" ,
20+ "@babel/plugin-proposal-nullish-coalescing-operator" ,
21+ ] ,
1922 } ,
2023 } ,
2124 } ,
You can’t perform that action at this time.
0 commit comments