Coder Social home page Coder Social logo

DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead at VisualizerPlugin.apply about webpack-visualizer HOT 2 OPEN

user546 avatar user546 commented on June 12, 2024 4
DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead at VisualizerPlugin.apply

from webpack-visualizer.

Comments (2)

a-mi-go avatar a-mi-go commented on June 12, 2024

Same issue after updating to webpack 4:

DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead at VisualizerPlugin.apply (/xxx/node_modules/webpack-visualizer-plugin/lib/plugin.js:44:22) at webpack (/xxx/node_modules/webpack/lib/webpack.js:51:13) at processOptions (/xxx/node_modules/webpack-cli/bin/cli.js:272:16) at /xxx/node_modules/webpack-cli/bin/cli.js:364:3 at Object.parse (/xxx/node_modules/webpack-cli/node_modules/yargs/yargs.js:567:18) at /xxx/node_modules/webpack-cli/bin/cli.js:49:8 at Object.<anonymous> (/xxx/node_modules/webpack-cli/bin/cli.js:366:3) at Module._compile (internal/modules/cjs/loader.js:959:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10) at Module.load (internal/modules/cjs/loader.js:815:32) at Function.Module._load (internal/modules/cjs/loader.js:727:14) at Module.require (internal/modules/cjs/loader.js:852:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.<anonymous> (/xxx/node_modules/webpack/bin/webpack.js:156:2) at Module._compile (internal/modules/cjs/loader.js:959:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10) at Module.load (internal/modules/cjs/loader.js:815:32) at Function.Module._load (internal/modules/cjs/loader.js:727:14) at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10) at internal/main/run_main_module.js:17:11

Using:
"webpack": "4.41.2",
"webpack-cli": "3.3.10",
"webpack-dev-server": "3.9.0",
"webpack-merge": "4.2.2",
"webpack-notifier": "1.8.0",
"webpack-visualizer-plugin": "0.1.11",
"workbox-webpack-plugin": "4.3.1",
"write-file-webpack-plugin": "4.5.1",

from webpack-visualizer.

jonamat avatar jonamat commented on June 12, 2024

This package is no longer maintained. If you need it I forked this package to use it with webpack 4 and 5 hooks.
Use npm i -D webpack-visualizer-plugin2

from webpack-visualizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.