Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

support webpack4? #62

Closed
cixiu opened this issue Mar 2, 2018 · 3 comments
Closed

support webpack4? #62

cixiu opened this issue Mar 2, 2018 · 3 comments

Comments

@cixiu
Copy link

cixiu commented Mar 2, 2018

webpack4 has published, can u update this plugin for support webpack4?

@cixiu cixiu closed this as completed Mar 2, 2018
@sschadwick
Copy link

Why did you close this? This plugin currently works with webpack 4, however it is throwing deprecation warnings.

@cixiu cixiu reopened this Mar 8, 2018
@Rowno
Copy link

Rowno commented Mar 15, 2018

The exact deprecation warning for reference:

(node:29743) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
    at FriendlyErrorsWebpackPlugin.apply (./node_modules/friendly-errors-webpack-plugin/src/friendly-errors-plugin.js:39:14)
    at webpack (./node_modules/webpack/lib/webpack.js:37:12)
    at processOptions (./node_modules/webpack-cli/bin/webpack.js:436:16)
    at yargs.parse (./node_modules/webpack-cli/bin/webpack.js:510:3)
    at Object.parse (./node_modules/webpack-cli/node_modules/yargs/yargs.js:543:18)
    at ./node_modules/webpack-cli/bin/webpack.js:217:8
    at Object.<anonymous> (./node_modules/webpack-cli/bin/webpack.js:512:3)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (./node_modules/webpack/bin/webpack.js:12:2)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

@MartinX3
Copy link

Same here

(node:10213) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
    at FriendlyErrorsWebpackPlugin.apply (./node_modules/friendly-errors-webpack-plugin/src/friendly-errors-plugin.js:39:14)
    at webpack (./node_modules/webpack/lib/webpack.js:37:12)
    at processOptions (./node_modules/webpack-cli/bin/webpack.js:436:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)
    at Function.Module.runMain (module.js:703:11)
    at startup (bootstrap_node.js:193:16)
    at bootstrap_node.js:617:3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants