{
    "componentChunkName": "component---src-templates-post-js",
    "path": "/extracting-exports-from-a-file/",
    "result": {"data":{"mdx":{"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Extracting Function Exports From a File\",\n  \"date\": \"2021-09-24T00:00:00.000Z\",\n  \"tags\": [\"javascript\", \"typescript\", \"babel\", \"codemod\"]\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"Identifying a function and all of its dependencies comes with some nuances. In this post, we\\u2019ll look at how to extract exported functions from a file of using Babel.\"));\n}\n;\nMDXContent.isMDXComponent = true;","excerpt":"Identifying a function and all of its dependencies comes with some nuances. In this post, we'll look at how to extract exported functions…","fields":{"readingTime":{"text":"1 min read"},"slug":"/extracting-exports-from-a-file/"},"frontmatter":{"date":"09/24/2021","summary":null,"tags":["javascript","typescript","babel","codemod"],"title":"Extracting Function Exports From a File","image":null}},"previous":null,"next":null},"pageContext":{"id":"0382447d-a87a-5151-8697-e7b6a79a2c42"}},
    "staticQueryHashes": ["3764592887"]}