esm
esm copied to clipboard
Add support for conditional chaining
Using conditional chaining const foo = bar?.baz || ''
causes syntaz error.
this was addressed in earlier tickets and was resolved by forks i.e. add change this in your package.json
"esm": "https://github.com/jsg2021/esm/releases/download/v3.x.x-pr883/esm-3.x.x-pr883.tgz",
or just move to a new published fork altogether and use command line node -r esm-wallaby index.js
"esm-wallaby": "^3.2.26",