{"id":19046211,"url":"https://github.com/mayank1791989/babel-loader","last_synced_at":"2026-04-18T10:32:47.424Z","repository":{"id":33660229,"uuid":"157404136","full_name":"Mayank1791989/babel-loader","owner":"Mayank1791989","description":"babel loader for webpack","archived":false,"fork":false,"pushed_at":"2023-01-03T16:52:13.000Z","size":2589,"stargazers_count":1,"open_issues_count":19,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T02:44:30.321Z","etag":null,"topics":["babel7","loader","webpack","webpack4"],"latest_commit_sha":null,"homepage":"","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/Mayank1791989.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-13T15:41:01.000Z","updated_at":"2019-07-15T08:18:48.000Z","dependencies_parsed_at":"2023-01-15T02:00:43.740Z","dependency_job_id":null,"html_url":"https://github.com/Mayank1791989/babel-loader","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mayank1791989%2Fbabel-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mayank1791989%2Fbabel-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mayank1791989%2Fbabel-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mayank1791989%2Fbabel-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mayank1791989","download_url":"https://codeload.github.com/Mayank1791989/babel-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240102768,"owners_count":19748076,"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":["babel7","loader","webpack","webpack4"],"created_at":"2024-11-08T22:53:38.470Z","updated_at":"2025-11-12T10:01:58.828Z","avatar_url":"https://github.com/Mayank1791989.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/@playlyfe/babel-loader.svg?style=flat-square)](https://www.npmjs.com/package/@playlyfe/babel-loader)\n[![npm](https://img.shields.io/npm/dt/@playlyfe/babel-loader.svg?style=flat-square)](https://www.npmjs.com/package/@playlyfe/babel-loader)\n[![Travis](https://img.shields.io/travis/Mayank1791989/babel-loader.svg?style=flat-square)](https://travis-ci.org/Mayank1791989/babel-loader)\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/babel/babel\"\u003e\n    \u003cimg src=\"https://rawgit.com/babel/logo/master/babel.svg\" alt=\"Babel logo\" width=\"200\" height=\"200\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/webpack/webpack\"\u003e\n    \u003cimg src=\"https://webpack.js.org/assets/icon-square-big.svg\" alt=\"webpack logo\" width=\"200\" height=\"200\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n# babel-loader\n\n\u003e This package allows transpiling JavaScript files using [Babel](https://github.com/babel/babel) and [webpack](https://github.com/webpack/webpack).\n\n## Requirements\n\n```javascript\n{\n  node: '\u003e=8.0.0',\n  webpack: '\u003e=4.0.0',\n  babel: '\u003e=7.0.0'\n}\n```\n\n## Install\n\n```sh\n$ npm install --save-dev @playlyfe/babel-loader\n$ yarn add --dev @playlyfe/babel-loader\n```\n\n## Usage\n\nwebpack documentation: [Loaders](https://webpack.js.org/loaders/)\n\nWithin your webpack configuration object, you'll need to add the babel-loader to the list of modules, like so:\n\n```javascript\nmodule: {\n  rules: [\n    {\n      test: /\\.m?js$/,\n      exclude: /node_modules/,\n      use: {\n        loader: '@playlyfe/babel-loader',\n        options: {\n          cacheDirectory: 'cache-dir-path'\n        }\n      }\n    }\n  ]\n}\n```\n\n## Options\n\n* `cacheDirectory`: ```false | string``` (Default `false`). When set, the given directory will be used to cache the results of the loader. Future webpack builds will attempt to read from the cache to avoid needing to run the potentially expensive Babel recompilation process on each run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayank1791989%2Fbabel-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayank1791989%2Fbabel-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayank1791989%2Fbabel-loader/lists"}