import ProjextAngularJSPlugin from 'projext-plugin-rollup-angularjs/src/plugin.js'
ProjextAngularJSPlugin
It updates targets Babel configuration in order to add support for AngularJS annotations.
Constructor Summary
Public Constructor | ||
public |
Class constructor. |
Method Summary
Public Methods | ||
public |
This is the method called when the plugin is loaded by projext. |
Public Constructors
Public Methods
public register(app: Projext) source
This is the method called when the plugin is loaded by projext. It setups all the listeners for the events the plugin needs to intercept in order to:
- Add support for AngularJS annotations.
- Exclude AngularJS packages from the bundle when the target is a library.
- Generate the settings for a target default HTML.
Params:
Name | Type | Attribute | Description |
app | Projext | The projext main container. |