{
  "presets": [
    [
      "@babel/preset-env",
      {
        "targets": {
          "node": "14"
        },
        // We are adding plugin @babel/plugin-transform-destructuring to ensure babel does not transform the destructing 
        // as playwright does not allow parameters without destrucring
        "exclude": ["@babel/plugin-transform-destructuring"]
      }
    ]
  ],
  "plugins": [
      ["@babel/plugin-transform-runtime"],
      ["@babel/plugin-transform-modules-commonjs"]
  ],
  // Ignored as these are setup files needed during init script. Files inside that folder are copied not transformed
  "ignore": [
    "./src/setup-folder-structure/samples",
    "./src/common/**"
  ]
}