Closed alexander-akait closed 6 years ago
/cc @gajus
With webpack 4 I get
DeprecationWarning: Tapable.plugin is deprecated. Use new API on
.hooks
instead
@gajus Do you maintain this plugin?
(Thanks for this awesome plugin btw.)
@gajus Also if you don't have time to maintenance this, maybe we can migrate this to webpack-contrib
?
any news on WebPack v4 compatibility ?
@radut you don't need this plugin anymore, https://github.com/webpack/webpack-dev-middleware#writetodisk
@evilebottnawi Is there a way to use the writeToDisk
option directly through webpack-dev-server, or does the middleware need to be used directly?
I need a simple solution to add to WDS, select which file pattern to always write on disk.. not to reinvent the wheel with new middleware :-?
@tech4him1 See webpack-serve. It's a light alternative to WDS and you can set the flag there. After doing that, you don't need this plugin anymore.
This plugin works perfectly fine with webpack 4.5.0. I also get the DeprecationWarning, but the plugin still does what it's intended to do.
@gajus can we add note in readmy about support webpack-dev-middleware
feature to avoid questions
@gajus can we add note in readmy about support webpack-dev-middleware feature to avoid questions
PR welcome.
https://github.com/webpack/webpack/releases/tag/v4.0.0-alpha.0