@angular-devkit/build-webpack

  • Version 0.1301.4
  • Published
  • 20.7 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: webpack.Configuration,
context: BuilderContext,
options?: {
logging?: WebpackLoggingCallback;
webpackFactory?: WebpackFactory;
shouldProvideStats?: boolean;
}
) => Observable<any>;

    function runWebpackDevServer

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

      Interfaces

      interface EmittedFiles

      interface EmittedFiles {}
      • Copyright Google LLC All Rights Reserved.

        Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://angular.io/license

      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>