const presets = [
  [
    "@babel/env",
    {
      "useBuiltIns": "entry"
    },
  ],
];

module.exports = { presets };
const presets = [
  [
    "@babel/env",
    {
      "useBuiltIns": "entry"
    },
  ],
];

module.exports = { presets };

add a newline at the end of .babelrc.js