0.6.0 • Published 7 years ago

liferay-npm-bundler-plugin-inject-package-dependencies v0.6.0

Weekly downloads
40
License
-
Repository
-
Last release
7 years ago

liferay-npm-bundler-plugin-inject-angular-dependencies

Inject some peer dependencies which are needed to make Angular work.

Installation

npm install --save-dev liferay-npm-bundler-plugin-inject-angular-dependencies

Usage

Add the following to your .npmbundlerrc file:

{
    "*": {
		"plugins": [
			"inject-angular-dependencies"
		]
	}
}

Technical Details

This plugin injects a dependency on rxjs in @angular/forms package. This is needed for Angular to work correctly under Liferay Portal npm architecture.

To determine the version of rxjs to use, the plugin scans the parent directory of @angular/forms for the rxjs package.

You can find more information about what happens with rxjs and @angular/forms in this issue.

0.6.0

7 years ago

0.5.0

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.3

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago