@ngtools/webpack

  • Version 12.0.3
  • Published
  • 133 kB
  • 1 dependency
  • MIT license

Install

npm i @ngtools/webpack
yarn add @ngtools/webpack
pnpm add @ngtools/webpack

Overview

Webpack plugin that AoT compiles your Angular components and modules.

Index

Variables

variable AngularWebpackLoaderPath

const AngularWebpackLoaderPath: string;

    Functions

    function angularWebpackLoader

    angularWebpackLoader: (this: any, content: string, map: any) => void;
    • 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

    Classes

    class AngularWebpackPlugin

    class AngularWebpackPlugin {}

      constructor

      constructor(options?: Partial<AngularWebpackPluginOptions>);

        property options

        readonly options: AngularWebpackPluginOptions;

          method apply

          apply: (compiler: any) => void;

            Interfaces

            interface AngularWebpackPluginOptions

            interface AngularWebpackPluginOptions {}

              property compilerOptions

              compilerOptions?: CompilerOptions;

                property directTemplateLoading

                directTemplateLoading: boolean;

                  property emitClassMetadata

                  emitClassMetadata: boolean;

                    property emitNgModuleScope

                    emitNgModuleScope: boolean;

                      property fileReplacements

                      fileReplacements: Record<string, string>;

                        property inlineStyleMimeType

                        inlineStyleMimeType?: string;

                          property jitMode

                          jitMode: boolean;

                            property substitutions

                            substitutions: Record<string, string>;

                              property tsconfig

                              tsconfig: string;

                                Namespaces

                                namespace ivy

                                namespace ivy {}
                                • Deprecated

                                  Deprecated as of v12, please use the direct exports (AngularWebpackPlugin instead of ivy.AngularWebpackPlugin)

                                variable AngularWebpackLoaderPath

                                const AngularWebpackLoaderPath: string;

                                  variable AngularWebpackPlugin

                                  const AngularWebpackPlugin: typeof ivyInternal.AngularWebpackPlugin;

                                    type AngularPluginOptions

                                    type AngularPluginOptions = ivyInternal.AngularWebpackPluginOptions;

                                      type AngularWebpackPlugin

                                      type AngularWebpackPlugin = ivyInternal.AngularWebpackPlugin;

                                        Package Files (4)

                                        Dependencies (1)

                                        Dev Dependencies (0)

                                        No dev dependencies.

                                        Peer Dependencies (3)

                                        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/@ngtools/webpack.

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