{"library":"babel-plugin-alias-modules","type":"library","category":null,"description":"A Babel plugin that rewrites aliased require() calls based on fields in package.json, such as the 'browser' field. Version 2.32.2 is current, maintained as part of the Liferay npm bundler toolkit. It enables module aliasing like webpack's resolve.aliasFields, scanning package.json for alias fields and redirecting require() calls. It only handles the local redirection part; external aliasing is handled by a companion plugin. Useful for isomorphic packages and browser polyfills.","language":"javascript","status":"active","version":"2.32.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-alias-modules","imports":["import babelPluginAliasModules from 'babel-plugin-alias-modules'","import type { Config } from 'babel-plugin-alias-modules'","import { createVisitor } from 'babel-plugin-alias-modules'"]},{"cmd":"yarn add babel-plugin-alias-modules","imports":[]},{"cmd":"pnpm add babel-plugin-alias-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-alias-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-alias-modules/compatibility"}}