Liferay Browser Module Alias Plugin

JSON →
library 2.32.2 ·javascript deprecated
verified May 27, 2026

The `liferay-npm-bundler-plugin-replace-browser-modules` is a specialized plugin designed for the `liferay-npm-bundler`. Its core function is to facilitate the adaptation of Node.js modules for browser environments by processing the `browser` field (or other configured `aliasFields`) in `package.json` files. This allows developers to conditionally swap out or empty modules that are not browser-compatible, ensuring that frontend bundles are optimized for web usage within the Liferay DXP platform. The current stable version is 2.32.2. Updates for this plugin are typically aligned with the release cycle of the broader `liferay-frontend-projects` monorepo, which often sees multiple releases per quarter across its various sub-packages. It works in conjunction with `babel-plugin-alias-modules` to fully implement module aliasing, handling the external redirection part while the Babel plugin manages local requires. Its primary differentiator is its deep integration within the Liferay build toolchain, which is currently in a deprecated state, planned for future removal in Liferay 2024.Q4/Portal GA129.

total hits 11
actors 6 distinct systems
last hit 8d ago AhrefsBot
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇫🇷 France · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany