gajus / write-file-webpack-plugin

Forces webpack-dev-server to write bundle files to the file system.
Other
527 stars 54 forks source link

(node:28688) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead #68

Closed sarfarazansari closed 6 years ago

sarfarazansari commented 6 years ago

After upgrade to webpack 4 getting below warning

(node:28688) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
    at Object.apply (/Users/sarfarazansari/Projects/KISS-APP/ui/node_modules/write-file-webpack-plugin/dist/index.js:137:14)
    at webpack (/Users/sarfarazansari/Projects/KISS-APP/ui/node_modules/webpack/lib/webpack.js:37:12)
    at Object.<anonymous> (/Users/sarfarazansari/Projects/KISS-APP/ui/config/electron-dev.js:36:18)
gajus commented 6 years ago

@sarfarazansari Are you available to PR a change?

sarfarazansari commented 6 years ago

@gajus sorry to bother you. But I guess I've fixed issue by updating library 4.3.2