On Sat, Sep 3 2022 at 09:44:22 PM +05:30:00 +05:30:00, Pirate Praveen
<prav...@onenetbeyond.org> wrote:
I tried different babel options but none of them seems to be working
for optional chaining operator transpiling. I tried target node 12
for babel preset env, tried explicitly adding this plugin for
optional chaining operator etc (by patching config/babel.config.js -
adding top level preset as well as adding to overrides).
I succeeded in correctly transpiling node-yaml for node12 by using
babeljs commandline, so this buys us more time to backport nodejs for
gitlab.
https://salsa.debian.org/js-team/node-yaml/-/commit/cca188ba053175258e78f4afdf68f2cc80953d11
Looks like config/babel.config.js was never actually being used as
babel.config.js should be in the root directory along with package.json