• Version 0.1702.2
  • Published
  • 22.3 kB
  • 2 dependencies
  • MIT license


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


Webpack Builder for Architect



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?: {
    shouldProvideStats?: boolean;
    devServerConfig?: WebpackDevServer.Configuration;
    logging?: WebpackLoggingCallback;
    webpackFactory?: WebpackFactory;
    webpackDevServerFactory?: WebpackDevServerFactory;
    ) => Observable<any>;


      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)


                                    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
                                    • 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>