import {BabelConfiguration} from 'projext/src/services/configurations/babelConfiguration.js'
BabelConfiguration
This service is in charge of creating Babel configurations for targets.
Constructor Summary
Public Constructor | ||
public |
constructor(events: Events) Class constructor. |
Method Summary
Public Methods | ||
public |
getConfigForTarget(target: Target): Object Get a Babel configuration for a target. |
Public Constructors
Public Methods
public getConfigForTarget(target: Target): Object source
Get a Babel configuration for a target.
This method uses the event reducer babel-configuration
, which sends a Babel configuration
and a target information, and expects a Babel configuration on return.
Params:
Name | Type | Attribute | Description |
target | Target | The target information. |