Skip to content

@ngtools/webpack used via angular-cli uses number of undocumented plugin options #15287

@falsyvalues

Description

@falsyvalues

🐞 Bug report regarding docs

Is this a regression?

No

Description

Lack of documentation for @ngtools/webpack interface makes creating environment that could be moved to angular-cli somewhere in time extremely difficult. This is very important for hybrid apps because in 99% they already have established building process and it's impossible to switch to angular-cli.

🔬 Minimal Reproduction

Open README.md of @ngtools/webpack and compare with AngularCompilerPluginOptions interface.

🔥 Exception or Error

Undocumented options:


    hostReplacementPaths?: {
        [path: string]: string;
    } | ((path: string) => string);
    forkTypeChecker?: boolean;
    i18nInFile?: string;
    i18nInFormat?: string;
    i18nOutFile?: string;
    i18nOutFormat?: string;
    locale?: string;
    missingTranslation?: string;
    platform?: PLATFORM;
    nameLazyFiles?: boolean;
    logger?: logging.Logger;
    discoverLazyRoutes?: boolean;
    additionalLazyModules?: {
        [module: string]: string;
    };
    additionalLazyModuleResources?: string[];
    host?: virtualFs.Host;
    platformTransformers?: ts.TransformerFactory[];

🌍 Your Environment


@ngtools/webpack: 8.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: @ngtools/webpackarea: docsRelated to the documentationfreq1: lowOnly reported by a handful of users who observe it rarelyhelp wantedLabel noting an issue which the team is looking for contribution from the community to fixseverity2: inconvenient

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions