liferay-npm-bundler-preset-angular-cli
v2.32.0
Published
Configuration for liferay-npm-bundler to integrate with Angular CLI projects
Downloads
212
Maintainers
Keywords
Readme
liferay-npm-bundler-preset-angular-cli
Liferay NPM Bundler preset for Angular CLI adapted projects.
Install
npm install --save-dev liferay-npm-bundler-preset-angular-cli
Usage
Add the following to your .npmbundlerrc
file:
{
"preset": "liferay-npm-bundler-preset-angular-cli"
}
Technical Details
This preset takes care of projects created with the Angular CLI tool so that they can be correctly bundled and deployed to Liferay DXP or Liferay Portal CE.
👀 Note that portlets processed by this preset MUST NOT be instanceable because of the way Angular bootstraps its applications. Also note that you MUST NOT place more than one Angular CLI adapted portlet into the same page for the very same reason.