Transpile logical assignment operators with babel

(cherry picked from commit 3cf4d2907e32e81050f35cda042dcc2b4641d40d)
This commit is contained in:
Bogdan 2024-01-20 13:37:25 +02:00
parent aa98bb16e9
commit c328f4c9ca
1 changed files with 2 additions and 0 deletions

View File

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