{"library":"babel-loader","type":"library","category":null,"description":"Webpack loader that transpiles JavaScript/TypeScript files using Babel. Current stable version is 10.1.1, with a release cadence of minor/patch updates every few months. It integrates Babel's transformation pipeline into webpack's build process, supporting features like caching, customizing cache identifiers, and passing source maps. Key differentiators: it is the official Babel team supported loader, tightly integrated with webpack's module system, and supports both webpack and Rspack. It requires @babel/core as a peer dependency and works with Babel 7 or 8 beta. Compared to alternatives like esbuild-loader or swc-loader, babel-loader offers full Babel plugin ecosystem compatibility and extensive customization options for legacy browser support.","language":"javascript","status":"active","version":"10.1.1","tags":["javascript","webpack","loader","babel","es6","transpiler","module"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-loader","imports":["module.exports = { module: { rules: [ { test: /\\.m?js$/, use: 'babel-loader' } ] } }","import babelLoader from 'babel-loader';","const babelLoader = require('babel-loader');"]},{"cmd":"yarn add babel-loader","imports":[]},{"cmd":"pnpm add babel-loader","imports":[]}],"homepage":null,"github":"https://github.com/babel/babel-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-loader/compatibility"}}