@ngtools/webpack

  • Version 22.0.7
  • Published
  • 220 kB
  • No dependencies
  • 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;
  • Deprecated

    Part of Angular's Webpack support deprecation. Deprecated since v22.

variable imageDomains

const imageDomains: Set<string>;
  • Deprecated

    Part of Angular's Webpack support deprecation. Deprecated since v22.

Functions

function angularWebpackLoader

angularWebpackLoader: (
this: LoaderContext<unknown>,
content: string,
map: string
) => void;
  • Deprecated

    Part of Angular's Webpack support deprecation. Deprecated since v22.

Classes

class AngularWebpackPlugin

class AngularWebpackPlugin {}
  • Deprecated

    Part of Angular's Webpack support deprecation. Deprecated since v22.

constructor

constructor(options?: Partial<AngularWebpackPluginOptions>);

    property options

    readonly options: AngularWebpackPluginOptions;

      method apply

      apply: (compiler: Compiler) => void;

        Interfaces

        interface AngularWebpackPluginOptions

        interface AngularWebpackPluginOptions {}
        • Deprecated

          Part of Angular's Webpack support deprecation. Deprecated since v22.

        property compilerOptions

        compilerOptions?: CompilerOptions;

          property directTemplateLoading

          directTemplateLoading: boolean;

            property emitClassMetadata

            emitClassMetadata: boolean;

              property emitNgModuleScope

              emitNgModuleScope: boolean;

                property emitSetClassDebugInfo

                emitSetClassDebugInfo?: boolean;

                  property fileReplacements

                  fileReplacements: Record<string, string>;

                    property inlineStyleFileExtension

                    inlineStyleFileExtension?: string;

                      property jitMode

                      jitMode: boolean;

                        property substitutions

                        substitutions: Record<string, string>;

                          property tsconfig

                          tsconfig: string;

                            Package Files (4)

                            Dependencies (0)

                            No dependencies.

                            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>