Typedef
Static Public Summary | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
ProviderRegisterMethod(app: Jimple): function |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Static Public
public DevMiddlewareGetFileSystem: Promise<FileSystem, Error>: function source
Return:
Promise<FileSystem, Error> | The reason this is resolved on a promise is to avoid trying to accessing files before they are generated. |
public MiddlewaresInformation: Object source
Properties:
Name | Type | Attribute | Description |
middlewares | Array | A list of functions that when executed return a Node middleware. |
|
getDirectory | DevMiddlewareGetDirectory | To access the target implementing the middleware build directory. |
|
getFileSystem | DevMiddlewareGetFileSystem | To access the webpack dev middleware "virtual filesystem". |
public ProjextWebpackBundleRunnerOptions: Object source
Properties:
Name | Type | Attribute | Description |
entry | string |
|
The name of the webpack entry to execute. If not specified will fallback to the first one on the list provided by webpack. |
name | string |
|
The "instance name", used to register the listeners
on the webpack event hooks. Its default value is
|
logger | Logger |
|
A custom logger to output the plugin's information messages. |
inspect | NodeInspectorSettings |
|
The custom settings for the Node Inspector. |
public ProjextWebpackOpenDevServerOptions: Object source
Properties:
Name | Type | Attribute | Description |
openBrowser | boolean | Whether or not to open the browser when the bundle is ready.
Its default value is |
|
name | string |
|
The "instance name", used to register the listeners on the
webpack event hooks.
Its default value is |
logger | Logger |
|
A custom logger to output the plugin's information messages. |
public ProjextWebpackRuntimeDefinitionsOptions: Object source
Properties:
Name | Type | Attribute | Description |
name | string |
|
The "instance name", used to register the listeners on the
webpack event hooks. Its default value is
|
public Provider: Object source
Properties:
Name | Type | Attribute | Description |
register | ProviderRegisterMethod | The method that gets called when registering the provider. |
public ProviderRegisterMethod(app: Jimple): function source
Params:
Name | Type | Attribute | Description |
app | Jimple | A reference to the dependency injection container. |
public TargetDevServerSettings: Object source
Properties:
Name | Type | Attribute | Description |
port | number | The server port. |
|
host | string | The dev server hostname. |
|
url | string | The complete URL for the dev server. |
|
reload | boolean | Whether or not to reload the server when the code changes. |
|
ssl | TargetDevServerSSLSettings |
|
The paths to the files to enable SSL on the dev server. |
proxied | TargetDevServerProxiedSettings |
|
When the dev server is being proxied (using |
public WebpackConfigurationParams: Object source
Properties:
Name | Type | Attribute | Description |
target | Target | The target information. |
|
targetRules | TargetFileRules | The rules to find the different file types a target may use. |
|
entry | Object | A dictionary with the |
|
output | WebpackConfigurationTargetOutput | A dictionary with the filenames formats and paths of the different files the bundle can generate. |
|
definitions | Function():Object | A function that generates a dictionary of variables that will be replaced on the bundled code. |
|
buildType | string | The intended built type: |
|
copy | Array | A list of TargetExtraFile with the information of files that need to be copied during the bundling process. |
|
additionalWatch | Array | A list of additional paths webpack should watch for in order to restart the bundle. |
|
analyze | boolean | Whether or not the target bundle should be analyzed. |
public WebpackConfigurationTargetOutput: Object source
Properties:
Name | Type | Attribute | Description |
js | string | The filename format and path for the bundle, on the distribution directory. |
|
css | string | The filename format and path for the generated stylesheet, on the distribution directory. |
|
images | string | The filename format and path for the images that are going to be copied to the distribution directory. |
|
fonts | string | The filename format and path for the font files that are going to be copied to the distribution directory. |
public WebpackConfigurations: Object source
Properties:
Name | Type | Attribute | Description |
node | WebpackConfigurationsByEnvironment | The build types configurations for a Node target. |
|
browser | WebpackConfigurationsByEnvironment | The build types configurations for a browser target. |
public WebpackConfigurationsByEnvironment: Object source
Properties:
Name | Type | Attribute | Description |
production | ConfigurationFile | The configuration service for a the target type production build. |
|
development | ConfigurationFile | The configuration service for a the target type development build. |