79370421

Date: 2025-01-20 06:20:10
Score: 1
Natty:
Report link

make a babel.config.cjs file at the root and add the below as the content

module.exports = {
    presets: [
        [
            '@babel/preset-env',
            {
                targets: {
                    node: 'current'
                }
            }
        ]
    ]
};

Trust me it works as magic!

Please upvote if it helped :)

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Basith