{"library":"babel-plugin-transform-modules-requirejs-babel","type":"library","category":null,"description":"A Babel plugin for transforming ESM modules to AMD modules, designed to work with RequireJS and the requirejs-babel7 plugin. Current stable version 0.2.0 (May 2025). It replaces the combination of @babel/plugin-transform-modules-amd, babel-plugin-amd-checker, babel-plugin-amd-default-export, and babel-plugin-module-resolver-standalone, solving limitations around mixing ESM and AMD modules at any dependency level and handling default exports without wrapping. Supports customising module path resolution via a resolvePath function. Infrequent releases; maintained by a single author.","language":"javascript","status":"active","version":"0.2.0","tags":["javascript","babel-plugin","module","transform","babel","plugin","requirejs","requirejs-babel","requirejs-babel7"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-modules-requirejs-babel","imports":["module.exports = { plugins: ['transform-modules-requirejs-babel'] }","['transform-modules-requirejs-babel', { resolvePath: (source, currentFile) => 'es6!' + source }]","const plugin = require('babel-plugin-transform-modules-requirejs-babel'); module.exports = { plugins: [plugin] }"]},{"cmd":"yarn add babel-plugin-transform-modules-requirejs-babel","imports":[]},{"cmd":"pnpm add babel-plugin-transform-modules-requirejs-babel","imports":[]}],"homepage":null,"github":"https://github.com/prantlf/babel-plugin-transform-modules-requirejs-babel","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-modules-requirejs-babel","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-plugin-transform-modules-requirejs-babel/compatibility"}}