{"library":"babel-plugin-namespace-modules","type":"library","category":null,"description":"A Babel plugin that prepends the root project's package name and version to AMD module names in define() and require() calls, preventing module name clashes across projects. This is particularly useful for sandboxing dependencies in Liferay environments, ensuring runtime dependencies match development dependencies. Version 2.32.2 is the latest stable release, maintained as part of the liferay-frontend-projects monorepo. It integrates with liferay-npm-bundler for consistent namespace handling.","language":"javascript","status":"active","version":"2.32.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-namespace-modules","imports":["module.exports = require('babel-plugin-namespace-modules')","const plugin = require('babel-plugin-namespace-modules')","{\n  \"plugins\": [\"namespace-modules\"]\n}"]},{"cmd":"yarn add babel-plugin-namespace-modules","imports":[]},{"cmd":"pnpm add babel-plugin-namespace-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-namespace-modules","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-namespace-modules/compatibility"}}