{"id":15673693,"url":"https://github.com/jaydenseric/babel-plugin-transform-runtime-file-extensions","last_synced_at":"2025-05-06T22:45:32.054Z","repository":{"id":56589939,"uuid":"253399137","full_name":"jaydenseric/babel-plugin-transform-runtime-file-extensions","owner":"jaydenseric","description":"A Babel plugin that adds file extensions to Babel runtime import specifiers and require paths for Node.js ESM compatibility.","archived":false,"fork":false,"pushed_at":"2020-08-05T03:08:42.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T22:45:21.380Z","etag":null,"topics":["babel","esm","node"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaydenseric.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":".github/funding.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"jaydenseric"}},"created_at":"2020-04-06T05:00:15.000Z","updated_at":"2022-01-26T14:23:21.000Z","dependencies_parsed_at":"2022-08-15T21:31:11.941Z","dependency_job_id":null,"html_url":"https://github.com/jaydenseric/babel-plugin-transform-runtime-file-extensions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaydenseric%2Fbabel-plugin-transform-runtime-file-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaydenseric%2Fbabel-plugin-transform-runtime-file-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaydenseric%2Fbabel-plugin-transform-runtime-file-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaydenseric%2Fbabel-plugin-transform-runtime-file-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaydenseric","download_url":"https://codeload.github.com/jaydenseric/babel-plugin-transform-runtime-file-extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252782459,"owners_count":21803380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel","esm","node"],"created_at":"2024-10-03T15:41:46.992Z","updated_at":"2025-05-06T22:45:31.977Z","avatar_url":"https://github.com/jaydenseric.png","language":"JavaScript","funding_links":["https://github.com/sponsors/jaydenseric"],"categories":[],"sub_categories":[],"readme":"# babel-plugin-transform-runtime-file-extensions\n\n[![npm version](https://badgen.net/npm/v/babel-plugin-transform-runtime-file-extensions)](https://npm.im/babel-plugin-transform-runtime-file-extensions) [![CI status](https://github.com/jaydenseric/babel-plugin-transform-runtime-file-extensions/workflows/CI/badge.svg)](https://github.com/jaydenseric/babel-plugin-transform-runtime-file-extensions/actions)\n\nA [Babel](https://babeljs.io) plugin that adds file extensions to Babel runtime `import` specifiers and `require` paths for [Node.js ESM compatibility](https://nodejs.org/api/esm.html#esm_mandatory_file_extensions).\n\nThis is a temporary workaround for [babel/babel#8462](https://github.com/babel/babel/issues/8462).\n\n## Setup\n\nTo install from [npm](https://npmjs.com) run:\n\n```sh\nnpm install babel-plugin-transform-runtime-file-extensions --save-dev\n```\n\nConfigure Babel to use the plugin, after [`@babel/plugin-transform-runtime`](https://npm.im/@babel/plugin-transform-runtime):\n\n```json\n{\n  \"plugins\": [\"@babel/transform-runtime\", \"transform-runtime-file-extensions\"]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaydenseric%2Fbabel-plugin-transform-runtime-file-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaydenseric%2Fbabel-plugin-transform-runtime-file-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaydenseric%2Fbabel-plugin-transform-runtime-file-extensions/lists"}