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/npm/babel-preset-episource@0.5.1/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/babel-preset-episource@0.5.1/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict';\n\nconst { declare } = require('@babel/helper-plugin-utils');\n\nconst defaultTargets = {\n  chrome: 83,\n  edge: 83,\n  firefox: 76,\n  ios: 13,\n  safari: 13,\n  node: 12,\n};\n\nfunction buildTargets({ additionalTargets }) {\n  return { ...defaultTargets, ...additionalTargets };\n}\n\nmodule.exports = declare((api, options) => {\n  // see docs about api at https://babeljs.io/docs/en/config-files#apicache\n  api.assertVersion('^7.0.0');\n\n  const {\n    modules,\n    targets = buildTargets(options),\n    removePropTypes,\n    looseClasses = false,\n  } = options;\n\n  if (typeof modules !== 'undefined' && typeof modules !== 'boolean' && modules !== 'auto') {\n    throw new TypeError(\n      'babel-preset-episource only accepts `true`, `false`, or `\"auto\"` as the value of the \"modules\" option'\n    );\n  }\n\n  const computedModulesOption = modules === false ? false : 'auto';\n\n  const debug = typeof options.debug === 'boolean' ? options.debug : false;\n  const development =\n    typeof options.development === 'boolean'\n      ? options.development\n      : api.cache.using(() => process.env.NODE_ENV === 'development');\n\n  return {\n    presets: [\n      [\n        require('@babel/preset-env'),\n        {\n          debug,\n          exclude: [\n            'transform-async-to-generator',\n            'transform-template-literals',\n            'transform-regenerator',\n          ],\n          modules: computedModulesOption,\n          targets,\n        },\n      ],\n      [require('@babel/preset-react'), { development }],\n    ],\n    plugins: [\n      [\n        // this plugin _always_ needs to be loaded first\n        require('babel-plugin-styled-components'),\n        !development\n          ? {\n              // help bundlers tree-shake\n              pure: true,\n              // remove dev-mode noise\n              displayName: false,\n            }\n          : {\n              // use defaults\n            },\n      ],\n      looseClasses\n        ? [\n            require('@babel/plugin-transform-classes'),\n            {\n              loose: true,\n            },\n          ]\n        : null,\n\n      removePropTypes\n        ? [\n            require('babel-plugin-transform-react-remove-prop-types'),\n            {\n              mode: 'wrap',\n              additionalLibraries: ['episource-prop-types'],\n              ignoreFilenames: ['node_modules'],\n              ...removePropTypes,\n            },\n          ]\n        : null,\n\n      [\n        require('@babel/plugin-transform-template-literals'),\n        {\n          spec: true,\n        },\n      ],\n      require('@babel/plugin-transform-property-mutators'),\n      require('@babel/plugin-transform-member-expression-literals'),\n      require('@babel/plugin-transform-property-literals'),\n      [\n        require('@babel/plugin-proposal-object-rest-spread'),\n        {\n          useBuiltIns: true,\n        },\n      ],\n      [\n        require('@babel/plugin-transform-runtime'),\n        {\n          absoluteRuntime: false,\n          corejs: false,\n          helpers: true,\n          regenerator: false,\n          useESModules: !computedModulesOption,\n        },\n      ],\n    ].filter(Boolean),\n  };\n});\n"]}