import {RollupNodeProductionConfiguration} from 'projext-plugin-rollup/src/services/configurations/nodeProductionConfiguration.js'
RollupNodeProductionConfiguration
Extends:
Creates the specifics of a Rollup configuration for a Node target production build.
Constructor Summary
Public Constructor | ||
public |
constructor(events: Events, pathUtils: PathUtils, rollupPluginSettingsConfiguration: RollupPluginSettingsConfiguration) |
Member Summary
Public Members | ||
public |
A local reference for the |
|
public |
A local reference for the |
Method Summary
Public Methods | ||
public |
createConfig(params: RollupConfigurationParams): Object Creates the complete configuration for a Node target production build. |
Inherited Summary
From class ConfigurationFile | ||
public |
Whether the configuration should be created every time |
|
public |
A list of paths that can overwrite the configuration. |
|
public |
A parent configuration to extend. |
|
public |
A local reference for the |
|
public abstract |
This method will be called the first time |
|
public |
This is the public method all other services uses to obtain the configuration. |
Public Constructors
public constructor(events: Events, pathUtils: PathUtils, rollupPluginSettingsConfiguration: RollupPluginSettingsConfiguration) source
Class constructor.
Override:
ConfigurationFile#constructorParams:
Name | Type | Attribute | Description |
events | Events | To reduce the configuration. |
|
pathUtils | PathUtils | Required by |
|
rollupPluginSettingsConfiguration | RollupPluginSettingsConfiguration | To get the plugin settings. |
Public Members
public rollupPluginSettingsConfiguration: RollupPluginSettingsConfiguration source
A local reference for the rollupPluginSettingsConfiguration
service.
Public Methods
public createConfig(params: RollupConfigurationParams): Object source
Creates the complete configuration for a Node target production build.
This method uses the reducer events rollup-node-production-configuration
and
rollup-node-configuration
. It sends the configuration, the received params
and
expects a configuration on return.
Override:
ConfigurationFile#createConfigParams:
Name | Type | Attribute | Description |
params | RollupConfigurationParams | A dictionary generated by the top service building the configuration and that includes things like the target information, its entry settings, output paths, etc. |