Skip to content

Support webpack@4 #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
alexander-akait opened this issue Dec 5, 2017 · 12 comments · Fixed by #53
Closed

Support webpack@4 #50

alexander-akait opened this issue Dec 5, 2017 · 12 comments · Fixed by #53

Comments

@alexander-akait
Copy link

https://github.com/webpack/webpack/releases/tag/v4.0.0-alpha.0

@alexander-akait
Copy link
Author

/cc @gajus

@brillout
Copy link

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.)

@alexander-akait
Copy link
Author

@gajus Also if you don't have time to maintenance this, maybe we can migrate this to webpack-contrib?

@radut
Copy link

radut commented Mar 28, 2018

any news on WebPack v4 compatibility ?

@alexander-akait
Copy link
Author

@radut you don't need this plugin anymore, https://github.com/webpack/webpack-dev-middleware#writetodisk

@tech4him1
Copy link

@evilebottnawi Is there a way to use the writeToDisk option directly through webpack-dev-server, or does the middleware need to be used directly?

@radut
Copy link

radut commented Mar 30, 2018

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 :-?

@bebraw
Copy link

bebraw commented Apr 4, 2018

@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.

@mrukas
Copy link

mrukas commented Apr 6, 2018

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.

@alexander-akait
Copy link
Author

alexander-akait commented Apr 7, 2018

@gajus can we add note in readmy about support webpack-dev-middleware feature to avoid questions

@gajus
Copy link
Owner

gajus commented Apr 7, 2018

@gajus can we add note in readmy about support webpack-dev-middleware feature to avoid questions

PR welcome.

@sikhote
Copy link

sikhote commented Apr 13, 2018

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

Successfully merging a pull request may close this issue.

8 participants