@ngtools/webpack

  • Version 12.2.10
  • Published
  • 144 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;

    Functions

    function angularWebpackLoader

    angularWebpackLoader: (this: any, content: string, map: string) => void;

      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 inlineStyleFileExtension

                          inlineStyleFileExtension?: string;

                            property inlineStyleMimeType

                            inlineStyleMimeType?: string;
                            • Deprecated

                              use inlineStyleFileExtension instead.

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