webpack-dev-server can be used to quickly develop an application. Options that are compatible with webpack-dev-middleware have a key icon next to them. This set of options is picked up by webpack-dev-server and can be used to change its behavior in various ways. When the server is started, there will be a message prior to the list of resolved modules. If you're using dev-server through the Node.js API, the options in devServer will be ignored. Pass the options as a second parameter instead: new WebpackDevServer(compiler, {...}). Be aware that when exporting multiple configurations only the devServer options for the first configuration will be taken into account and used for all the configurations in the array. HTML template is required to serve the bundle, usually it is an index.html file. Make sure that script references are added into HTML, webpack-dev-server doesn't inject them automatically.

Features

  • You can invoke webpack-dev-server via CLI
  • Provides the ability to execute custom middleware after all other middleware internally within the server
  • Allows you to whitelist services that are allowed to access the dev server
  • Provides the ability to execute custom middleware prior to all other middleware internally within the server
  • Enable gzip compression for everything served
  • It is also possible to serve from multiple directories in case you want to serve static content at multiple URLs

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow webpack DevServer

webpack DevServer Web Site

Other Useful Business Software
Demo Series - Small Business Backup By Veeam Icon
Demo Series - Small Business Backup By Veeam

Learn how to protect your Microsoft 365 data, with simple, actionable tips today.

Watch this on-demand demo series and learn how to protect your Microsoft 365 data with clear, simple, actionable steps that are easy to implement for businesses of all sizes.
Watch Demo Series
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of webpack DevServer!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Browsers, JavaScript Software Development Software

Registered

2021-08-09