@angular-devkit/build-webpack

  • Version 0.1201.4
  • Published
  • 21.3 kB
  • 2 dependencies
  • MIT license

Install

npm i @angular-devkit/build-webpack
yarn add @angular-devkit/build-webpack
pnpm add @angular-devkit/build-webpack

Overview

Webpack Builder for Architect

Index

Functions

function runWebpack

runWebpack: (
config: any,
context: any,
options?: {
logging?: WebpackLoggingCallback;
webpackFactory?: WebpackFactory;
shouldProvideStats?: boolean;
}
) => any;

    function runWebpackDevServer

    runWebpackDevServer: (
    config: any,
    context: any,
    options?: {
    devServerConfig?: WebpackDevServer.Configuration;
    logging?: WebpackLoggingCallback;
    webpackFactory?: WebpackFactory;
    webpackDevServerFactory?: WebpackDevServerFactory;
    }
    ) => any;

      Interfaces

      interface EmittedFiles

      interface EmittedFiles {}

        property asset

        asset?: boolean;

          property extension

          extension: string;

            property file

            file: string;

              property id

              id?: string;

                property initial

                initial: boolean;

                  property name

                  name?: string;

                    interface WebpackFactory

                    interface WebpackFactory {}

                      call signature

                      (config: webpack.Configuration): Observable<webpack.Compiler> | webpack.Compiler;

                        interface WebpackLoggingCallback

                        interface WebpackLoggingCallback {}

                          call signature

                          (stats: webpack.Stats, config: webpack.Configuration): void;

                            Type Aliases

                            type BuildResult

                            type BuildResult = BuilderOutput & {
                            emittedFiles?: EmittedFiles[];
                            webpackStats?: webpack.StatsCompilation;
                            outputPath: string;
                            };

                              type DevServerBuildOutput

                              type DevServerBuildOutput = BuildResult & {
                              port: number;
                              family: string;
                              address: string;
                              };

                                type WebpackBuilderSchema

                                type WebpackBuilderSchema = RealWebpackBuilderSchema;

                                  type WebpackDevServerFactory

                                  type WebpackDevServerFactory = typeof WebpackDevServer;

                                    Package Files (4)

                                    Dependencies (2)

                                    Dev Dependencies (0)

                                    No dev dependencies.

                                    Peer Dependencies (2)

                                    Badge

                                    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@angular-devkit/build-webpack.

                                    • Markdown
                                      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@angular-devkit/build-webpack)
                                    • HTML
                                      <a href="https://www.jsdocs.io/package/@angular-devkit/build-webpack"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>