Skip to content

vue-server-renderer | Webpack 4 deprecation warning for plugins #8810

Closed
@AlexDubok

Description

@AlexDubok

What problem does this feature solve?

In webpack 4 there is a deprecation warning about the Tapable.plugin being deprecated.

What does the proposed API look like?

Change compiler.plugin to compiler.hooks.[hookname] to support new tappable syntax.

The question is what is the preferred way to support new syntax while leaving Webpack 2-3 compatibility?

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