{"library":"babel-plugin-namespace-amd-define","type":"library","category":null,"description":"A Babel plugin that prefixes AMD define() calls with a configurable namespace string, primarily used by Liferay projects. Current stable version is 2.32.2. It transforms define() to Liferay.Loader.define() by default, and supports custom namespaces via options. Unlike general-purpose plugins, it targets a niche use case: prepending a namespace to all AMD define calls in legacy codebases.","language":"javascript","status":"active","version":"2.32.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-namespace-amd-define","imports":["import plugin from 'babel-plugin-namespace-amd-define'","// In .babelrc or babel.config.js:\nmodule.exports = { plugins: ['namespace-amd-define'] }","module.exports = { plugins: [['namespace-amd-define', { namespace: 'MyApp' }]] }"]},{"cmd":"yarn add babel-plugin-namespace-amd-define","imports":[]},{"cmd":"pnpm add babel-plugin-namespace-amd-define","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-amd-define","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-amd-define/compatibility"}}