Relative Content

Tag Archive for webpackwebpack-dev-serverwebpack-5

May I know why webpack-dev-server@5 needs a version of node 18 at least?

I am developing an old program with node version 16. When I try to upgrade to use webpack5, I notice that the node version dependency of webpack-dev-server@5 is 18. May I know why? Are there any features or breaking changes that we must have this limit?
Hope to get answers. Thanks a lot.

DevServer is not uploading the files after html-bundler-webpack-plugin was installed on WebPack5

Hello Guys I’ve been working on creating a local dev env using Webpack to develop sites, the devServer.watchFiles was working until I installed the html-bundler-webpack-plugin I’ve tried all read all documentation everything looks fine but when I edit the html or scss files it does not reload them on the browser automatically. I even added plugins.watchfiles as you can see you below