Transpile logical assignment operators with babel

(cherry picked from commit 3cf4d2907e32e81050f35cda042dcc2b4641d40d)
pull/4509/head
Bogdan 10 months ago
parent aa98bb16e9
commit c328f4c9ca

@ -2,6 +2,8 @@ const loose = true;
module.exports = { module.exports = {
plugins: [ plugins: [
'@babel/plugin-transform-logical-assignment-operators',
// Stage 1 // Stage 1
'@babel/plugin-proposal-export-default-from', '@babel/plugin-proposal-export-default-from',
['@babel/plugin-transform-optional-chaining', { loose }], ['@babel/plugin-transform-optional-chaining', { loose }],

Loading…
Cancel
Save