@ngtools/webpack

  • Version 18.2.7
  • Published
  • 140 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;

    variable imageDomains

    const imageDomains: Set<string>;

      Functions

      function angularWebpackLoader

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

        Classes

        class AngularWebpackPlugin

        class AngularWebpackPlugin {}

          constructor

          constructor(options?: Partial<AngularWebpackPluginOptions>);

            property options

            readonly options: AngularWebpackPluginOptions;

              method apply

              apply: (compiler: Compiler) => void;

                Interfaces

                interface AngularWebpackPluginOptions

                interface AngularWebpackPluginOptions {}

                  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>