import {WebpackNodeDevelopmentConfiguration} from 'projext-plugin-webpack/src/services/configurations/nodeDevelopmentConfiguration.js'WebpackNodeDevelopmentConfiguration
Extends:
Creates the specifics of a Webpack configuration for a Node target development build.
Constructor Summary
| Public Constructor | ||
| public |
constructor(appLogger: Logger, events: Events, pathUtils: PathUtils, webpackBaseConfiguration: WebpackBaseConfiguration) Class constructor. |
|
Member Summary
| Public Members | ||
| public |
A local reference for the |
|
| public |
A local reference for the |
|
Method Summary
| Public Methods | ||
| public |
createConfig(params: WebpackConfigurationParams): object Create the configuration with the |
|
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(appLogger: Logger, events: Events, pathUtils: PathUtils, webpackBaseConfiguration: WebpackBaseConfiguration) source
Class constructor.
Override:
ConfigurationFile#constructorParams:
| Name | Type | Attribute | Description |
| appLogger | Logger | To send the plugin that executes the bundle in order to log information messages. |
|
| events | Events | To reduce the configuration. |
|
| pathUtils | PathUtils | Required by |
|
| webpackBaseConfiguration | WebpackBaseConfiguration | The configuration this one will extend. |
Public Members
Public Methods
public createConfig(params: WebpackConfigurationParams): object source
Create the configuration with the entry, the output and the plugins specifics for a
Node target development build.
This method uses the reducer events webpack-node-development-configuration and
webpack-node-configuration. It sends the configuration, the received params and expects
a configuration on return.
Override:
ConfigurationFile#createConfigParams:
| Name | Type | Attribute | Description |
| params | WebpackConfigurationParams | A dictionary generated by the top service building the configuration and that includes things like the target information, its entry settings, output paths, etc. |
