{"library":"babel-plugin-name-amd-modules","type":"library","category":null,"description":"A Babel plugin that gives a name to AMD modules based on the module's path and package name. Version 2.32.2 is the current stable release. This plugin is maintained by Liferay and is part of the JS Toolkit ecosystem. It is specifically designed for AMD module systems, automatically generating named define() calls using package name and relative path. Unlike generic AMD plugins, it integrates with Liferay's build tooling and respects .npmbundlerrc configuration. Release cadence is irregular, with version bumps tied to the monorepo releases. Works with Babel 7+ and is intended for legacy AMD codebases or custom module systems.","language":"javascript","status":"active","version":"2.32.2","tags":["javascript"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install babel-plugin-name-amd-modules","imports":["module.exports = require('babel-plugin-name-amd-modules'); // in .babelrc plugin array","// In .babelrc or babel.config.js:\n{\n  \"plugins\": [\"name-amd-modules\"]\n}","module.exports = function(api) {\n  api.cache(true);\n  const plugin = require('babel-plugin-name-amd-modules');\n  return { plugins: [plugin] };\n};"]},{"cmd":"yarn add babel-plugin-name-amd-modules","imports":[]},{"cmd":"pnpm add babel-plugin-name-amd-modules","imports":[]}],"homepage":null,"github":"https://github.com/liferay/liferay-frontend-projects","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-name-amd-modules","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}