@nx/webpack
Version:
18 lines (17 loc) • 636 B
TypeScript
import { Compiler } from 'webpack';
import { NxAppWebpackPluginOptions } from './nx-app-webpack-plugin-options';
/**
* This plugin provides features to build Node and Web applications.
* - TS support (including tsconfig paths)
* - Different compiler options
* - Assets handling
* - Stylesheets handling
* - index.html and package.json generation
*
* Web-only features, such as stylesheets and images, are only supported when `target` is 'web' or 'webworker'.
*/
export declare class NxAppWebpackPlugin {
private readonly options;
constructor(options?: NxAppWebpackPluginOptions);
apply(compiler: Compiler): void;
}