Home Reference Source

References

summary
public

F useExpress(expressApp: Express, targetToBuild: string, targetToServe: string): MiddlewaresInformation

Implements the Webpack middlewares for a target on an Express app.

public

F useJimpex(jimpexApp: Jimpex, targetToBuild: string, targetToServe: string): MiddlewaresInformation

Implements the Webpack middlewares for a target on a Jimpex app.

public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

E Events

public
public
public

E Jimpex

public

E Jimple

public

E Logger

public
public
public
public
public
public
public

E Target

public
public
public
public
public
public

abstracts

summary
public abstract

A helper class for creating configuration files that can be overwritten on implementation.

version 1.0

jimpex

summary
public

This service overwrites the Jimpex default FrontendFs so it will use the file system provided by the Webpack middleware instead of using the real file system.

public

This service overwrites the Jimpex default sendFile so it will use the frontendFs service to reads the file contents, thus using the virtual file system from the Webpack middleware.

public

Generate a Provider with an already defined getDirectory and getFileSystem functions.

public

The service provider that once registered on the app container will set WebpackSendFile.sendFile as the sendFile service.

plugins

summary
public

This is a set of utility methods the Projext webpack plugins use.

plugins/bundleRunner

summary
public

This is a webpack plugin that executes a Node bundle when it finishes compiling.

plugins/openDevServer

summary
public

This is a webpack plugin that works as a tiny helper for the dev server: It logs clear messages when the bundle isbeing created, when it's available, in which URL and it even opens the browser. The reason it was created was because the dev server log messages are hard to find and, depending on the settings, when the dev server opens the browser, you can end up on /webpack-dev-server.

plugins/runtimeDefinitions

summary
public

This is a webpack plugin that works with webpack.DefinePlugin in order to reload all definitions when the bundle changes.

services/building

summary
public

This service reads the targets information and generates what would be the contents of a webpack.config.js for them.

public

This build engine is in charge of generating the CLI commands and the configuration to bundle a target using Webpack.

public

The service provider that once registered on the app container will set an instance of WebpackConfiguration as the webpackConfiguration service.

public

The service provider that once registered on the app container will set an instance of WebpackBuildEngine as the webpackBuildEngine service.

services/configurations

summary
public

The base configuration is at the top of the Webpack configurations level and it includes the settings for resolve and module.

public

Creates the specifics of a Webpack configuration for a browser target development build.

public

Creates the specifics of a Webpack configuration for a browser target production build.

public

Creates the specifics of a Webpack configuration for a Node target development build.

public

Creates the specifics of a Webpack configuration for a Node target production build.

public

Define the Webpack configuration rules for basic types of assets: Javascript, stylesheets, images and fonts.

public

The service provider that once registered on the app container will set an instance of WebpackBaseConfiguration as the webpackBaseConfiguration service.

public

The service provider that once registered on the app container will set an instance of WebpackBrowserDevelopmentConfiguration as the webpackBrowserDevelopmentConfiguration service.

public

The service provider that once registered on the app container will set an instance of WebpackBrowserProductionConfiguration as the webpackBrowserProductionConfiguration service.

public

The service provider that once registered on the app container will set an instance of WebpackNodeDevelopmentConfiguration as the webpackNodeDevelopmentConfiguration service.

public

The service provider that once registered on the app container will set an instance of WebpackNodeProductionConfiguration as the webpackNodeProductionConfiguration service.

public

The service provider that once registered on the app container will set an instance of WebpackRulesConfiguration as the webpackRulesConfiguration service.

services/server

summary
public

This service creates and manages middlewares for webpack server implementations.

public

The service provider that once registered on the app container will set an instance of WebpackMiddlewares as the webpackMiddlewares service.