Liferay NPM Bundler AMD Preset
JSON →The `liferay-npm-bundler-preset-amd` package provides a specialized configuration preset for the `liferay-npm-bundler`, a tool integral to developing modules for Liferay DXP. Its core function is to facilitate the bundling of projects that rely on AMD (Asynchronous Module Definition) structured npm modules, making them compatible with the Liferay portal environment. Currently stable at version 1.8.0, this preset streamlines the build process by embedding the necessary Babel transformations, notably `babel-preset-liferay-amd`, which handles AMD-specific syntax and dependencies. While a strict release cadence isn't published, updates typically align with major `liferay-npm-bundler` or Liferay DXP platform releases, ensuring ongoing compatibility. A key differentiator is its deep integration with the Liferay ecosystem, providing an opinionated and optimized approach for handling legacy or specifically designed AMD modules within modern Liferay development workflows, avoiding manual configuration of complex Babel and Webpack rules for AMD support.
Traffic · last 30 days ↑0% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany