{"library":"liferay-npm-bundler","type":"library","category":null,"description":"liferay-npm-bundler is a specialized Command Line Interface (CLI) utility designed to process Liferay widget projects and produce OSGi bundles, encapsulating the necessary npm dependencies for deployment to the Liferay Portal. Functioning similarly to bundlers like Webpack, it uniquely targets Liferay Portal as its platform, handling the intricacies of OSGi module packaging for frontend assets. This includes linking packages in the browser and facilitating the sharing of common module versions across widgets rather than each loading its own copy. It converts application resources and npm dependencies into a Liferay OSGi bundle, preparing them for deployment via a standard widget build (e.g., Gradle). As of its latest version, 2.32.2, it was part of the actively developed `liferay-frontend-projects` monorepo. However, it has been officially deprecated as of Liferay 2024.Q4/Portal GA129 and is scheduled for future removal, with Liferay shifting towards alternative frontend development and optimization strategies.","language":"javascript","status":"deprecated","version":"2.32.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install liferay-npm-bundler","imports":["import main from 'liferay-npm-bundler';","import { bundle } from 'liferay-npm-bundler/lib/bundler';","import { getMergedConfig } from 'liferay-npm-bundler/lib/config';"]},{"cmd":"yarn add liferay-npm-bundler","imports":[]},{"cmd":"pnpm add liferay-npm-bundler","imports":[]}],"homepage":null,"github":"https://github.com/liferay/liferay-frontend-projects","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/liferay-npm-bundler","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/liferay-npm-bundler/compatibility"}}