Webpack 5: Setup Webpack Dev Server

Published: 24 December 2020
on channel: DevTuts
15,821
127

In this Webpack 5 tutorial, I'm going to show you how to set up a Webpack dev server. It will allow us to set up a development web server that will watch our project for changes. And it will automatically reload our project when things change.

Chapters:
00:00 Intro
00:16 Install Webpack Dev Server
00:30 Configure Webpack 5 to use webpack-dev-server
01:00 Create an NPM Script to Run the Webpack Dev Server
01:13 Run the Webpack Dev Server

Github Repo: https://github.com/rapidevelop/ex_web...

Full list of webpack-dev-server configuration options: https://webpack.js.org/configuration/...

#WebpackDevServer #Webpack5 #Webpack #JavaScript #WebDevelopment