Skip to content

Tapable.plugin is deprecated. Use new API on .hooks instead #3

@gesmith

Description

@gesmith

Problem: Deprecation warning in console when running webpack.
DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead at ReplaceBundlePlugin.apply (/node_modules/replace-bundle-webpack-plugin/index.js:21:11)

Refer to this comment in the Webpack repo: #webpack/webpack#6568 (comment)

Cause of issue: webpack 4 is using a new plugin system and deprecates the previous APIs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions