79159546

Date: 2024-11-05 14:45:49
Score: 1
Natty:
Report link

try updating your .babelrc to this:

{
    "presets": ["@babel/preset-env"],
    "sourceType": "script"
}

the issue is likely because babel is treating your code as a module by default, which enforces strict mode and makes 'package' a reserved word. setting sourceType to "script" should fix it.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: scar17off