Skip to content

magicString.insertLeft(...) is deprecated #4581

@cyrilletuzi

Description

@cyrilletuzi

Versions.

@ngtools/webpack 1.2.9

Repro steps.

@ngtools/webpack 1.2.9 has updated its dependencies, including magic-string from 0.16.0 to 0.19.0. But the method insertLeft has been renamed appendLeft in 0.17, causing a warning during build step.

The log given by the failure.

magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions